Description: Detailed explanation and resolution steps
Error Response Format
{
"success": false,
"error": {
"code": "AUTH_001",
"type": "Error",
"category": "Authentication",
"message": "Invalid API key",
"description": "The provided API key is invalid or has been revoked. Please check your API key in the web portal."
}
}
Backend Error Codes
Error codes used by HTTP APIs (SMS API, USSD API, Backend API)
Authentication Errors (AUTH_xxx)
Code
Type
Message
Description
AUTH_001
Error
Invalid API key
The provided API key is invalid or has been revoked
AUTH_002
Error
Missing API key
No API key provided in the Authorization header
AUTH_003
Error
Expired API key
The API key has expired and needs to be renewed
AUTH_004
Error
Insufficient permissions
Your account does not have permission for this operation
AUTH_005
Error
Account suspended
Your account has been suspended. Contact support.
AUTH_006
Error
Invalid credentials
Username or password is incorrect
Validation Errors (VAL_xxx)
Code
Type
Message
Description
VAL_001
Error
Missing required field
A required field is missing from the request
VAL_002
Error
Invalid phone number
The phone number format is invalid
VAL_003
Error
Message too long
The message exceeds the maximum allowed length
VAL_004
Error
Invalid date format
The date/time format is invalid. Use ISO 8601 format.
VAL_005
Error
Invalid parameter value
One or more parameters have invalid values
System Errors (SYS_xxx)
Code
Type
Message
Description
SYS_001
Error
Internal server error
An unexpected error occurred. Please try again later.
SYS_002
Error
Database error
A database error occurred. Please contact support.
SYS_003
Warning
Service temporarily unavailable
The service is temporarily unavailable. Please retry.
SYS_004
Error
Rate limit exceeded
Too many requests. Please slow down.
SMPP Protocol Error Codes
Standard SMPP v3.4 protocol error codes (ESME_xxx)
SMPP Compliance: These error codes follow the SMPP v3.4 specification and are used by
the SMPP server for protocol-level errors.