Error Codes
All error responses share the same envelope structure.
Error Envelope
{
"status": <http_status>,
"code": "<error_code>",
"message": "<human readable>",
"data": { "error": { ... } }
}Code Reference
| HTTP | Code | Description |
|---|---|---|
401 | auth/unauthorized | API key missing or invalid |
404 | application/not-found | No matching application found |
403 | not-allowed | Operation not permitted in the current state (e.g. duplicate primary for a reference_id) |
403 | application/already-exists | Duplicate reference_id + applicant_id |
403 | application/ai-process-started | Update blocked – AI processing underway |
403 | application/primary-not-found | co_applicant submitted before primary exists |
403 | application/applicant-id-required | applicant_id is required when applicant_type is co_applicant |
403 | form/invalid-data | Field value failed validation – includes field, received, section |
403 | form/not-found | Required form not configured for the persona |
403 | persona/not-found | Persona not configured for this org |
403 | user/not-found | No active user matched |
403 | user/cannot-create | User could not be created – try a different identifier |
403 | user/not-assigned-to-branch | User not assigned to the given branch |