Skip to content

invalid_request

400 Invalid request. Retry: Not as it is: change the request first.

When it happens

The request is malformed: its body isn’t JSON or isn’t sent as JSON, a field fails validation, a required part is missing, an upload hasn’t arrived yet, or an Idempotency-Key is too long. Validation failures list each field in errors, with its path and what was wrong.

What to do

Correct the request using detail and errors, then send it again.

Example

400 application/problem+json
{
"type": "https://formatjet.com/docs/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "…",
"request_id": "req_01JBXA3Q6P0R2S4T6V8W0X2Y4Z"
}

Endpoints