---
title: "File rejected"
description: "The content of the file contradicts its type. Do not send the same bytes again."
lang: en
url: https://developers.bodo-app.com/en/problems/UPLOAD_REJECTED/
apiVersion: 2026-11-01
---

# File rejected

The content of the file contradicts its type. Do not send the same bytes again.

**Status 422** · `UPLOAD_REJECTED`

## 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

**Example response**

```http
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"
}
```

## Related

- [422 UPLOAD_CHECKSUM_MISMATCH](/en/problems/UPLOAD_CHECKSUM_MISMATCH/) · Upload checksum mismatch
- [422 VALIDATION_FAILED](/en/problems/VALIDATION_FAILED/) · Validation failed

Read on: [Files](/en/guides/files/)
