"...not a valid, SMS-capable inbound phone number... (Code: 21606)", "errorCode":"auth0_idp_error"

Hi @argo and welcome to the Auth0 Community! :tada:

When you configured your passwordless SMS connection in the Auth0 Dashboard, where did you get the ‘From’ phone number (+15005550006)? Is that the ‘Trial Number’ that shows up in your Twilio Dashboard (screenshot attached)?


When I configured this connection and used the Management API to create a Passwordless SMS user, it seemed to all work as expected. The object I used to create this user was like so:

{
“phone_number”: “+1XXXXXXXXXX”,
“connection”:“sms”,
“name”: “John Doe”,
“app_metadata”: {
“access”:“member”
}
}

Hope this helps, let me know what further questions you might have.

Best Regards,
Colin