Messaging and Platform API errors
Messaging and Platform API errors use this shape:docs is optional. Error responses do not include separate code, message,
details, or request_id JSON fields. Use the X-Request-Id response header
for correlation and branch primarily on HTTP status plus the documented
operation response.
Error responses use these documented shapes and do not expose underlying
service details.
Meta-compatible errors
Meta-compatible Messaging API routes reshape failures into Meta’s envelope:fbtrace_id for correlation. Unsupported backend capabilities also return
a Meta-shaped error, so existing Cloud API clients can keep their error logic.
Retry guidance
- Fix the request before retrying
400,401,403,404, or409. - Retry
429only afterRetry-After. - Retry a bounded number of
500responses with exponential backoff and jitter; includeX-Request-Idorfbtrace_idin support requests. - Treat
501as a feature boundary, not a transient outage.