Error Response Format
All error responses follow a consistent structure:Status Codes
Success
| Code | Description |
|---|---|
200 OK | Request succeeded. Response body contains the requested data. |
Client Errors
| Code | Description |
|---|---|
401 Unauthorized | No token provided, or the token is malformed or expired. |
403 Forbidden | Token is valid but lacks the required permission scopes. |
404 Not Found | The requested resource does not exist. |
422 Unprocessable Entity | Request body failed validation. Check the detail field for the specific field and error. |
Server Errors
| Code | Description |
|---|---|
500 Internal Server Error | An unexpected error occurred. These are logged and monitored automatically. |
Common Error Scenarios
Missing or invalid Bearer token
Missing or invalid Bearer token
Status: Ensure your
401 UnauthorizedAuthorization header is set to Bearer <token> with a valid, non-expired token.Insufficient permissions
Insufficient permissions
Status: Your token doesn’t include the required scopes for this endpoint. Contact your SOLO account manager to update your token permissions.
403 ForbiddenValidation error on request body
Validation error on request body
Status: Check the field mentioned in the error detail. The API Reference documents the expected types and formats for each field.
422 Unprocessable EntityAccount not found
Account not found
Status: Your token is valid but the associated account or stakeholder doesn’t exist in the system. This typically occurs during initial setup — contact SOLO support.
401 Unauthorized