Developer docsCRM Gateway API reference Postman العربية

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" } }
}
codeMeaning
validation_failedThe request data is not valid.
not_foundNot found.
unauthorizedMissing or invalid credentials.
forbiddenThis action is not allowed.
insufficient_scopeThe credential doesn't have the scope this needs.
tenant_mismatchThe company in the request doesn't match the credential.
tenant_inactiveThe company workspace is suspended or cancelled.
rate_limitedToo many requests. Try again shortly.
quota_exceededPlan limit reached.
subscription_expiredThe company's subscription has ended. The administrator can renew it on the web, from the Subscription page.
idempotency_conflictThe same Idempotency-Key was used for a different request.
idempotency_in_progressA request with this Idempotency-Key is still running.
conflictThis clashes with another change. Try again.
invalid_credentialsWrong email or password, or no access to this workspace.
two_factor_requiredEnter the code from your authenticator app.
invalid_two_factor_codeThe verification code is wrong or has expired.
account_lockedToo many wrong attempts, so the account is locked for a while. Try again in 15 minutes.
mfa_setup_requiredWorkspace administrators need to set up two-step verification on the web first.
session_expiredYour session has ended. Please sign in again.
app_update_requiredA newer version of the app is needed. Please update it.
invalid_stateThis can't be done in the current state.
unsupported_operationThis operation isn't supported here.
unsafe_urlThat URL isn't allowed. It has to be HTTPS on a public address.
invalid_mediaInvalid media (type, size or dimensions).
account_unavailableThe account isn't active right now.
capability_missingThis account doesn't have the Meta permission for this.
feature_not_enabledThis add-on isn't switched on for your company. Contact support and they'll switch it on.
module_not_enablederror.module_not_enabled
order_draft_goneThe 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_enabledThis channel isn't in your subscription. Add it from the subscription page.
messaging_window_closedThe reply window has closed. It stays open for 24 hours after the customer's last message.
meta_token_expiredThe Meta access expired. Reconnect to carry on.
meta_permission_missingA Meta permission is missing for this.
meta_rate_limitedMeta is slowing down requests right now. Try again shortly.
meta_invalid_requestMeta rejected the request as invalid.
meta_media_rejectedMeta rejected the media (URL, type or dimensions).
meta_unavailableMeta is temporarily unavailable.
meta_errorMeta returned an error.
linkedin_token_expiredThe LinkedIn connection expired. Reconnect it.
linkedin_permission_missingLinkedIn didn't allow this. A permission or your Page role is missing.
linkedin_rate_limitedLinkedIn paused requests for a while because there were too many. Try again later.
linkedin_invalid_requestLinkedIn refused the request as invalid.
linkedin_media_rejectedLinkedIn refused the image or video.
linkedin_unavailableLinkedIn is temporarily unavailable.
linkedin_errorAn error from LinkedIn.
dynamics_token_expiredThe Microsoft sign-in expired or was withdrawn. Press Connect again.
dynamics_access_deniedThis Microsoft account isn't allowed to write to Dynamics (Contacts, Leads or Notes). Connect with an account that is.
dynamics_unavailableDynamics isn't answering right now. We'll try again on our own.
dynamics_errorDynamics refused the request.
customers_edited_in_dynamicserror.customers_edited_in_dynamics
webhook_target_failedThe receiving endpoint didn't accept the event.
internal_errorSomething went wrong on our side. We've logged it.