Skip to content

[Bug] Import | JSON import fails - Not valid JSON: expected value at line 1 column 1 - due to UTF8-BOM character #138

Open
@mmailaender

Description

@mmailaender

Getting Not valid JSON: expected value at line 1 column 1 while trying to import as json npx convex import --table accounts accounts.json

JSONs formats that I tried:

[
	{
		"accountNumber": "0001",
		"accountName": "reserviert"
	},
	{
		"accountNumber": "0040",
		"accountName": "reserviert"
	}
]
{
	"accounts": [
		{
			"accountNumber": "0001",
			"accountName": "reserviert"
		},
		{
			"accountNumber": "0040",
			"accountName": "reserviert"
		}
	]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions