invalid_ request
The request is malformed.
On this page
HTTP status: 400 Bad Request. Retrying the same request unchanged fails the same way.
Why it happens
- The body is empty or isn't a JSON object.
- A required parameter or header is missing, malformed or sent twice.
What to do
Check the request against the API reference. The detail names the problem.
Example
The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.
{
"type": "https://docs.nowgate.io/errors/invalid_request",
"title": "Bad Request",
"status": 400,
"detail": "What exactly was wrong, in a sentence.",
"instance": "/v1/payments",
"code": "invalid_request",
"request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}