MBT Company
← All pages in this section

CNAE_ASSIGNMENT_INCLUDED_IN_ADMINISTRATOR

Status: 400 Bad Request

What it means

The administrator role already includes the right to assign CNAE codes, so it does not need to be added.

What to do

Remove the extra permission and save 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/cnae-assignment-included-in-administrator",
  "title": "Bad Request",
  "status": 400,
  "detail": "The administrator role already includes the right to assign CNAE codes, so it does not need to be added.",
  "code": "CNAE_ASSIGNMENT_INCLUDED_IN_ADMINISTRATOR"
}