There was an error uploading the file appointments.json: Invalid file format

I have the same Problem with .js files. Some are working and some are not. Filesize makes no difference here. :-/

This fix worked for me, thank you!

This is still an issue and as is pointed out in issue #727 on the python client repo (sorry it won’t let me add a link) if the file is less than 1kb the API will not accept valid JSON but it will accept invalid JSON.

For larger files, valid JSON uploads correctly.


For me, the file size was the issue. The error made no sense, and I ended up spending quite some time to figure this out.

I saw the same error with a very simple json:

It worked for me when I replaced " with ’