Feeding JSON (not JSON lines) gives uninformative message #44

Open
opened 2026-06-26 10:40:05 +00:00 by mih · 0 comments
Owner

I get

{"status": "json_load_error", "index": 0, "json": "{\n", "detail": "Expecting property name enclosed in double quotes: line 2 column 1 (char 2)"}

I also see a similarly misleading error message generated by the server when submitting via CURL.

I get ```json {"status": "json_load_error", "index": 0, "json": "{\n", "detail": "Expecting property name enclosed in double quotes: line 2 column 1 (char 2)"} ``` I also see a similarly misleading error message generated by the server when submitting via CURL.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/dump-things-pyclient#44
No description provided.