MBT Company
← All pages in this section

PHOTO_INVALID

Status: 400 Bad Request

What it means

The photo is not accepted. It must be a JPEG, PNG or WebP picture of less than 300 KB.

What to do

Choose a smaller picture in one of those formats and upload it 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/photo-invalid",
  "title": "Bad Request",
  "status": 400,
  "detail": "The photo is not accepted. It must be a JPEG, PNG or WebP picture of less than 300 KB.",
  "code": "PHOTO_INVALID"
}