MBT Company
← All pages in this section

ASSISTANT_ATTACHMENTS_COUNT_INVALID

Status: 400 Bad Request

What it means

The number of files attached to the question is not allowed. A question needs from 1 to a few files, and the screen shows the maximum.

What to do

Attach the right number of files and ask again.

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/assistant-attachments-count-invalid",
  "title": "Bad Request",
  "status": 400,
  "detail": "The number of files attached to the question is not allowed. A question needs from 1 to a few files, and the screen shows the maximum.",
  "code": "ASSISTANT_ATTACHMENTS_COUNT_INVALID"
}