LOGIN
Ranjan Dailata
47
Community Expert
Application Architect/Lead Developer (Project Leader)
 · ChicagoU.S.
Share
Report
Get Link
SHOW & TELL

Kandy SMS Code Send and Verification Related

Here’s my experience in using the Kandy REST API for sending the SMS verification code.

Based on the JSON Request Body below, I was setting the USA “user_country_code” as “01” and got the below error message.

{
   "user_phone_number": "1234567890",
   "user_country_code": "01"
}
{
 "message": "Incorrect number length or bad country code",
 "status": 1001,
 "status_description": {
   "code": 2006,
   "message": "Incorrect number length or bad country code",
   "extra": "Invalid country calling code"
 }
}

After digging though and understood, the user_country_code should be set to ‘US’ and not ‘01’.

Alex Donn Please let your team update the Kandy Developer documentation with examples and appropriate valid country codes.

Also the Input parameters for “Verify validation code” is missing user phone number and country code in Kandy Documentation.

2 likes 
Like
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link