PRIMARY_ROLE_REQUIRED
Status: 400 Bad Request
What it means
A portal permission alone is not enough. The user also needs a main role.
What to do
Choose a main role as well 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/primary-role-required",
"title": "Bad Request",
"status": 400,
"detail": "A portal permission alone is not enough. The user also needs a main role.",
"code": "PRIMARY_ROLE_REQUIRED"
}