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

Error codes

Every error has a stable code. The message follows Accept-Language (ar or en); Meta's raw messages are never passed 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 lacks the required scope.
tenant_mismatchThe company in the request doesn't match the credential.
tenant_inactiveThe company workspace is suspended or cancelled.
rate_limitedRate limit reached. Try again shortly.
quota_exceededPlan limit reached.
idempotency_conflictThe same Idempotency-Key was used for a different request.
idempotency_in_progressA request with this Idempotency-Key is still running.
conflictConflicts with another change. Try again.
invalid_stateThis can't be done in the current state.
unsupported_operationThis operation isn't supported here.
unsafe_urlURL not allowed (must be HTTPS on a public address).
invalid_mediaInvalid media (type, size or dimensions).
account_unavailableThe account isn't active right now.
capability_missingThe account lacks the Meta permission for this.
meta_token_expiredThe Meta grant expired. Reconnect.
meta_permission_missingA Meta permission is missing for this.
meta_rate_limitedMeta is rate limiting requests.
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.
webhook_target_failedThe receiving endpoint didn't accept the event.
internal_errorAn internal error occurred. It was logged.