# Troubleshooting

Start with the HTTP status and notification ID. Share only redacted diagnostics, never API keys or recipient message content.

| Symptom | Check and next action |
| --- | --- |
| `401` | Key exists in the running environment, bearer header is present, key is usable and not revoked. |
| `403 application_scope_required` | Key was created inside the exact application and has `notifications:send`; a wildcard alone is insufficient. |
| `403 recipient_not_authorized` | Recipient approved this application and the requested category; account and subscription remain active. |
| `403 application_paused` | Resume the application in its owner's account app. |
| `404` | Verify IDs and ownership. Private resources deliberately hide their existence. |
| `409 idempotency_conflict` | Key/external ID belongs to a different payload. Recover the original request; generate new identity only for a new event. |
| `422` | Read field errors; verify ULIDs, body length, URL, nonempty selected destinations, image format/dimensions, and attachment ownership. |
| `429` | Honor `Retry-After`; inspect Usage for daily/monthly allowance and stop if the wait exceeds the event deadline. |
| Timeout or transient `5xx` | Outcome may be unknown. Retry within bounds using the same body and idempotency key. |
| `202`, but no device notification | Inspect endpoint count, History and Inbox, device registration/enabled state, subscription destinations/categories, preferences, OS permission, and provider outcome. |
| `inbox_only` | No eligible push endpoint or preferences suppress push. Check the recipient's Inbox. |
| Key labeled `test` sent a real push | Labels are not a sandbox. Use a local mock for no-send tests. |
| History GET rejected for script key | Expected. Open History while signed in to the sender's account app. |

## A useful diagnostic report

Record the integration language/runtime, request time, HTTP status, stable `reason` when available, notification ID, replay flag, endpoint count, and the last step you actually verified. Inspect the receiving device independently. State unverified layers explicitly rather than treating a provider receipt as a read receipt.

If account access, supported native distribution, or production-device delivery is unavailable, report that prerequisite. Do not replace Pijon with a simulated success or bypass recipient approval.
