Error Codes
List of the main error codes returned by the AfriSwitch API.
| Code | HTTP | Description |
|---|---|---|
| INVALID_REQUEST | 400 | Missing or invalid parameters. |
| UNAUTHORIZED | 401 | Invalid or missing authentication credentials. |
| FORBIDDEN | 403 | Access denied for this organisation or service. |
| NOT_FOUND | 404 | Resource or transaction not found. |
| OPERATOR_UNAVAILABLE | 503 | The operator is temporarily unavailable. |
| INTERNAL_ERROR | 500 | Internal server error. Retry or contact support. |