Menu

Errors

An API error answers with an HTTP status and a body naming its code, a message and a docUrl that links to its page here.

StatusCodeMeaning
400invalid_requestThe request is invalid
400bundle_mismatchThe device's bundle ID is not this app's
401invalid_api_keyThe API key is missing, unknown or revoked
401invalid_tokenThe sign-in or AI tool token is not valid
401reauth_requiredSign in again to do this
402plan_limit_exceededOver your plan's limit
403private_betaThis address hasn't been invited yet
403forbiddenThis caller can't do this
403invalid_user_signatureThe user ID's signature is not valid
404not_foundNot found in this app
409conflictIt conflicts with the current state
409idempotency_conflictThe Idempotency-Key was used with a different body
409not_cancelableThe notification can't be canceled
409device_invalidThe device is no longer valid
413payload_too_largeThe notification is too large
422apns_not_configuredNo valid APNs key for this environment
422broadcast_not_enabledBroadcast is not turned on for this app
429rate_limitedToo many requests
500internal_errorSomething went wrong on our side
503apns_unreachableApple didn't answer
503try_againTry again in a moment

When a push fails at Apple

A send the API accepted can still fail for one device. The delivery log names the reason; Delivery failures explains each one.