# file_type_mismatch

> The extension or contentType disagrees with the file's content.

HTTP status: 400

## What to do

Send the file's real extension and contentType, or leave contentType out.

## Example

```json
{
  "error": "file_type_mismatch",
  "request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
  "doc_url": "https://developers.komplai.dk/errors/file_type_mismatch"
}
```

## Operations that can return it

- POST /v1/redact/file (https://developers.komplai.dk/reference/redact.md)
- POST /v1/redact/file/jobs (https://developers.komplai.dk/reference/redact.md)

---

https://developers.komplai.dk/errors/file_type_mismatch
