When testing SMS API integration (e.g., via Postman), you may encounter the error:
{
"status": "error",
"statusCode": "122",
"reason": "No valid phone numbers found."
}
This error is common among new users and occurs due to one of the following reasons:
✅ Reason 1: Using Demo/Sandbox Mode Numbers
If your account is in Demo/Sandbox Mode, you can only send SMS to:
- Your registered mobile number (the one used during signup), or
- Any additional numbers that you have whitelisted in your dashboard.
👉 To resolve:
- Check if your test number is registered/whitelisted.
- Whitelist additional numbers from your dashboard before sending SMS.
✅ Reason 2: Incorrect Country Code Format
Phone numbers must follow international format with country code. For example:
- ✅ Correct: 919876543210 (India)
- ❌ Incorrect: 9876543210
👉 To resolve:
- Always include the country code.
- Follow ITU-T E.164 standard for numbering.
📌 Summary:
- Use registered/whitelisted numbers in Demo Mode.
- Always prefix numbers with correct country code.
Once these two checks are followed, the error should be resolved and your messages will be sent successfully.