Errors
Status codes and exact message strings the assistants module returns.
Status codes
| Status | When | Exact body |
|---|---|---|
403 | Creation quota reached | {"success":false,"message":"<account-specific quota message>"} |
404 | Unknown or out-of-scope assistant | {"success":false,"message":"Assistant not found"} |
422 | Validation failed | {"message":"…","errors":{"field":["…"]}} — e.g. "Assistant name is required.", "Assistant name cannot exceed 40 characters.", "Type must be either demo or production.", "Phone number must be in international format (e.g., +1234567890)." |
500 | Live platform create failed | {"success":false,"message":"Failed to create assistant in Cloud. Please try again."} |
500 | Live platform update failed | {"success":false,"message":"Failed to update assistant in Cloud: <detail>"} |
500 | Live platform delete failed | {"success":false,"message":"Failed to delete the assistant from the voice platform. Please try again."} |
500 | Phone purchase failed on create | {"success":false,"message":"Failed to purchase phone number: <detail>"} |
502 | Version-history store unavailable | {"success":false,"message":"Could not load update log. Please try again later."} |
Platform-wide 401/403-feature/409/429 responses are documented once in the Introduction.