Error codes
validation.invalid_json
Dashboard BFF variant emitted when a v1 proxy request body is not valid JSON.
validation.invalid_json is returned at HTTP 400.
The runtime also emits this code as
validation.invalid-jsonin some legacy paths. Both spellings document the same condition.
When this fires
The dashboard's app/api/v1/[...path] proxy emits this code when it receives a body that does not parse as JSON before forwarding it to the backend.
What to do
Set Content-Type: application/json and send a well-formed JSON body. This code is dashboard-internal — direct backend callers will see validation.body_unparseable instead.
See also
- SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
- Error code index — every code the runtime can return.