DocsPlatform & Reliability

Error Handling

Reference for standard API error codes, HTTP status codes, and Meta WhatsApp error code meanings.

4 min readAPI v1

Standard API Error Codes

Error CodeHTTP StatusDescription & Resolution
UNAUTHORIZED401Missing or invalid API key Bearer token in Authorization header.
FORBIDDEN403API key has been revoked or access is denied to this workspace.
NOT_FOUND404The requested resource (message, contact, group, template) was not found.
VALIDATION_ERROR400Invalid payload parameters. Check details field for parameter issues.
RATE_LIMIT_EXCEEDED429Too many requests. Check Retry-After header and throttle requests.
LIMIT_EXCEEDED403Plan daily template quota or contact limit reached. Upgrade required.
FEATURE_GATED403This feature (e.g. campaign scheduling) requires Growth/Pro plan.
CONFLICT409Idempotency-Key reuse with a different request payload body.
PAYLOAD_TOO_LARGE413Payload size exceeds 5MB or bulk array limit exceeds 500 items.
INTERNAL_SERVER_ERROR500Unexpected server error. Retry with backoff.

Common Meta WhatsApp Error Codes

Meta CodeDescriptionResolution
13104724-hour service window closedMust use an APPROVED template message instead of freeform text.
131049Template does not exist or language mismatchVerify exact template name and language code in /api/v1/templates.
131056Positional variable count mismatchNumber of variables provided did not match template placeholder count.
130429Rate limit hit on Meta APIMeta Cloud API rate limit. Automatically retried by PingStack worker.