Executive and assistant error codes (mpbx-api-telephony)
Returned by /api/v1/users/{id}/executive, /api/v1/me/executive and /api/v1/me/executives/...
. Guide: Executive and assistant.
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
MPBX-EXEC-INVALID | 400 | A field is not valid: an assistant listed twice, the executive as their own assistant, a user who is not active in the company, more than 10 assistants, a private-line entry that is not a number, or screening switched on without an assistant. | Fix the field named in errors. |
MPBX-EXEC-NOT-ASSISTANT | 403 | You do not assist this executive, or the administrator did not allow you to switch their status. | Ask an administrator (PUT /users/{id}/executive, can_control_status). |