Show all problem types
422
UPLOAD_REJECTED
The content of the file contradicts its type. Do not send the same bytes again.
- Typical cause
- The file signature does not match the stated type. No document is created.
- Way out
- Upload the file in the right format. After a scan finding, check where the file came from before sending it again.
Example response
POST /v1/documents
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://developers.bodo-app.com/problems/UPLOAD_REJECTED",
"title": "File rejected",
"status": 422,
"instance": "/v1/documents",
"code": "UPLOAD_REJECTED",
"requestId": "req_01JBD8Y3K5M7Q2W9X4Z6T1V0NP"
}