Auth0 Home Blog Docs

From phone number is not valid SMS capable inbound phone number

twilio
passwordless
sms
authentication

#1

HI,
I am trying to use my custom UI to login with phone number using AuthenticationAPIClient.
I get this error when I call authAPIClient.passwordlessWithSMS:

The From phone number +441792720641 is not a valid, SMS-capable inbound phone number or short code for your account. (Code: 21606)

I have checked in twilio console this number has voice and sms enabled, and I got this number as part of trial.

How can I get past this error?


#2

Hi @rajassocuk,

That error seems to be with the phone number you have obtained via Twilio. I would suggest contacting Twilio support who should be able to provide more insight.
https://www.twilio.com/docs/api/errors/21606


#3