Error codes
Every error has a stable code. The message follows Accept-Language (ar or en), and we never pass Meta's raw messages through.
{
"requestId": "req_0192f0c4a1b2c3d4e5f6",
"error": { "code": "validation_failed", "message": "...", "details": { "field": "content.type", "problem": "instagram_requires_image" } }
}
| code | Meaning |
|---|---|
validation_failed | The request data is not valid. |
not_found | Not found. |
unauthorized | Missing or invalid credentials. |
forbidden | This action is not allowed. |
insufficient_scope | The credential doesn't have the scope this needs. |
tenant_mismatch | The company in the request doesn't match the credential. |
tenant_inactive | The company workspace is suspended or cancelled. |
rate_limited | Too many requests. Try again shortly. |
quota_exceeded | Plan limit reached. |
subscription_expired | The company's subscription has ended. The administrator can renew it on the web, from the Subscription page. |
idempotency_conflict | The same Idempotency-Key was used for a different request. |
idempotency_in_progress | A request with this Idempotency-Key is still running. |
conflict | This clashes with another change. Try again. |
invalid_credentials | Wrong email or password, or no access to this workspace. |
two_factor_required | Enter the code from your authenticator app. |
invalid_two_factor_code | The verification code is wrong or has expired. |
account_locked | Too many wrong attempts, so the account is locked for a while. Try again in 15 minutes. |
mfa_setup_required | Workspace administrators need to set up two-step verification on the web first. |
session_expired | Your session has ended. Please sign in again. |
app_update_required | A newer version of the app is needed. Please update it. |
invalid_state | This can't be done in the current state. |
unsupported_operation | This operation isn't supported here. |
unsafe_url | That URL isn't allowed. It has to be HTTPS on a public address. |
invalid_media | Invalid media (type, size or dimensions). |
account_unavailable | The account isn't active right now. |
capability_missing | This account doesn't have the Meta permission for this. |
feature_not_enabled | This add-on isn't switched on for your company. Contact support and they'll switch it on. |
module_not_enabled | error.module_not_enabled |
order_draft_gone | The bot isn't holding this order any more. The customer cancelled it, or wrote again more than a day later and the bot started over. |
channel_not_enabled | This channel isn't in your subscription. Add it from the subscription page. |
messaging_window_closed | The reply window has closed. It stays open for 24 hours after the customer's last message. |
meta_token_expired | The Meta access expired. Reconnect to carry on. |
meta_permission_missing | A Meta permission is missing for this. |
meta_rate_limited | Meta is slowing down requests right now. Try again shortly. |
meta_invalid_request | Meta rejected the request as invalid. |
meta_media_rejected | Meta rejected the media (URL, type or dimensions). |
meta_unavailable | Meta is temporarily unavailable. |
meta_error | Meta returned an error. |
linkedin_token_expired | The LinkedIn connection expired. Reconnect it. |
linkedin_permission_missing | LinkedIn didn't allow this. A permission or your Page role is missing. |
linkedin_rate_limited | LinkedIn paused requests for a while because there were too many. Try again later. |
linkedin_invalid_request | LinkedIn refused the request as invalid. |
linkedin_media_rejected | LinkedIn refused the image or video. |
linkedin_unavailable | LinkedIn is temporarily unavailable. |
linkedin_error | An error from LinkedIn. |
dynamics_token_expired | The Microsoft sign-in expired or was withdrawn. Press Connect again. |
dynamics_access_denied | This Microsoft account isn't allowed to write to Dynamics (Contacts, Leads or Notes). Connect with an account that is. |
dynamics_unavailable | Dynamics isn't answering right now. We'll try again on our own. |
dynamics_error | Dynamics refused the request. |
customers_edited_in_dynamics | error.customers_edited_in_dynamics |
webhook_target_failed | The receiving endpoint didn't accept the event. |
internal_error | Something went wrong on our side. We've logged it. |