Back
Errors
2001
INVALID_PHONE_NUMBER
The phone number format is invalid.
HTTP 400 • Validation
Resolution
Use E.164 format: +[country_code][number] (e.g., +12025551234)
Example payload
{
"error": {
"code": 2001,
"message": "The phone number format is invalid.",
"resolution": "Use E.164 format: +[country_code][number] (e.g., +12025551234)",
"category": "validation",
"docs": "https://docs.afriroute.ai/errors/2001",
"support": "https://support.afriroute.ai",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}What to do next
Retryable?
Only retry safe requests (GET), or POST/PUT requests with idempotency protection. For rate limits, use backoff and jitter.