MBT Company
← All pages in this section

ATTACHMENT_INFECTED

Status: 422 Unprocessable Content

What it means

The file contains a threat, so it was refused.

What to do

Do not use this file. Scan your computer and send a clean copy.

Example of the answer

The API answers with this JSON (title and detail change with the situation and the language):

{
  "type": "https://docs.mbtcompany.eu/errors/attachment-infected",
  "title": "Unprocessable Content",
  "status": 422,
  "detail": "The file contains a threat, so it was refused.",
  "code": "ATTACHMENT_INFECTED"
}