Error Reference
All error responses return a JSON body:
{
"errorType": "PARTNER_ACCESS_DENIED",
"message": "..."
}
HTTP status codes
| HTTP | errorType | Meaning |
|---|---|---|
401 | AUTHORIZATION_FAILED | Missing or expired JWT. Re-login and retry. |
403 | PARTNER_ACCESS_DENIED | Resource does not belong to your partner account |
404 | PARTNER_NOT_FOUND | Partner not found |
404 | USER_NOT_FOUND | User not found |
404 | COMPANY_NOT_FOUND | Company not found |
409 | USER_EXISTS_BY_MAIL | A user with this email already exists |
409 | WHITELABEL_CONFLICT | Duplicate taxNumber and country combination |
Retry guidance
| Status | Should retry? | Notes |
|---|---|---|
5xx | Yes | Safe to retry |
408 | Yes | Safe to retry |
401 | Yes | Refresh JWT first, then retry |
4xx other | No | Fix the request before retrying |