Bad Request
bad-request
| Type URI | https://docs.panquest.com/qfx/problems/bad-request |
|---|---|
| Status | 400 Bad Request |
| Title | Bad Request |
| Members of its own | issues |
| Belgif REST guide | urn:problem-type:belgif:badRequest |
When
The request is not valid: its body, a path parameter, a query parameter or a header. Each problem found is one entry of issues, which says where it is (in and name) and what is wrong with it (type and detail). Something the body, a query or a header names that does not exist is an issue of the type referenced-resource-not-found.
What to do
Correct the request as the entries of issues say, then send it again. Sent again unchanged, it gets the same answer.
Example
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://docs.panquest.com/qfx/problems/bad-request",
"title": "Bad Request",
"status": 400,
"detail": "Request body field 'filename' exceeds the maximum length of 250",
"instance": "urn:uuid:3f1c2a0e-7d4b-4c55-9a2e-5b8f0c1d2e3f",
"parameters": {
"collection-name": "INVOICES"
},
"issues": [
{
"type": "https://docs.panquest.com/qfx/problems/input-validation/schema-violation",
"title": "Input isn't valid with respect to schema",
"detail": "Request body field 'filename' exceeds the maximum length of 250",
"in": "body",
"name": "/filename"
}
]
}