Auth0 Home Blog Docs

Phone number is not accepted for MFA

mfa
#1

Hello,

When I try to make a request to “/mfa/associate”, with a specific number using the following request, I get a “400 - The phone number is invalid” response.
For other phone numbers the requests works properly, but for this particular number it returns an error even though it’s a regular Canadian mobile phone.
Here is the curl:

curl -v
-X POST
-H “Authorization: Bearer XXX”
-H “Content-Type: application/json”
-d “{“phone_number”:”+1902440XXXX",“oob_channels”:[“sms”],“authenticator_types”:[“oob”],“client_id”:“XXX”}"
https://XXX.auth0.com/mfa/associate

Can someone help?

Thanks in advance,
Edi.