application/problem+json bodies for most errors.
Retry matrix
| Status | Meaning | What to do |
|---|---|---|
400 | malformed request or unsupported combination | fix the request before retrying |
401 / 403 | auth or permission issue | fix credentials or access configuration |
404 | resource not found | verify the ID and tenant context |
409 | duplicate or conflicting state | reconcile instead of retrying blindly |
422 | validation error | fix field data and resend |
5xx | transient server issue | retry with backoff and reconcile if the write result is unknown |
Example error response
Example fix
Request:Practical rules
- Never auto-retry
4xxwrites except behind explicit reconciliation logic. - Use exponential backoff for
429and5xxresponses. - If the response to a write is lost, retrieve the resource before creating another one.
- Log
requestId, yourexternal_ref, and the Pagou resource ID together.

