Common statuses
| Status | Meaning |
|---|---|
400 | Invalid JSON or missing required fields. |
401 | Missing, invalid, revoked, or incorrectly scoped API key. |
402 | Active subscription required. |
404 | Resource not found. |
409 | State conflict, such as setup that must happen first. |
502 | Upstream WhatsApp connection error. |
503 | WhatsApp connection is not ready. |
Pattern
Handle errors by status first, then display theerror string when present.