bad_request

RuntimeSeen in: The editor, Charts

What happened

A request that does not match the shape the service expects is refused with 400 before anything runs. The sandbox's job request, and every route of the API, use this code for a body or a parameter they cannot read.

What to do

Check the body and the parameters against the reference, then send the request again.

Example

json
{
  "request_id": "7d2b1c44-95a0-4e3b-8a6f-1c0d9e2f5a37",
  "ok": false,
  "error": {
    "code": "bad_request",
    "message": "The job request is not valid.",
    "detail": {}
  }
}

Ask about this in the forum