apns_not_configured
No valid APNs key for this environment. HTTP 422
What it means
The send needs a sandbox or production key that the app doesn't have, or Apple rejected the key it has.
What to do
Upload a working .p8 key for that environment in the portal (Settings → APNs key). See the APNs key guide.
Example
{
"error": {
"code": "apns_not_configured",
"message": "No valid APNs key for this environment",
"docUrl": "https://docs.pushwren.com/errors/apns_not_configured"
}
}Every error has this shape. The message says what went wrong in this case; docUrl links here. See all errors.