# Invalid Phone number while enrolling for MFA

**URL:** <https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445>\
**Category:** Get Help\
**Tags:** mfa-prompt-new-experience, mfa\
**Created:** [April 11, 2023, 11:53am UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445 "2023-04-11T11:53:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sulav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sulav/32/33466_2.png) [@sulav](https://community.auth0.com/u/sulav)\
**Post date:** [April 11, 2023, 11:53am UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/1 "2023-04-11T11:53:44Z")

</div>

Hi team,

We have a customer who’s based out of China, and trying to enroll for MFA. They are getting the `invalid-phone` prompt message shown on the screen while trying to enter their phone number. They claim that the number is valid and is in operation. We are using Twilio as a message provider and there’s no logs associated with this call in Twilio as Auth0 throws the error directly saying “Seems that your phone number is not valid. Please check and retry.”

Need help on how to fix this particular issue. Other customers from China are able to add their phone number for MFA so doesn’t look like a country-specific issue. Is there any way we can debug this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 19, 2023, 2:34pm UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/3 "2023-04-19T14:34:51Z")

</div>

Hi @sulav,

Welcome to the Auth0 Community!

Hm, it will be difficult to debug without more info. Could you give an example of the number format? You can omit the actual numbers, but please provide a format (i.e. +1xxxxxxxxxx)

---

<div class="post-metadata">

**Author:** ![sulav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sulav/32/33466_2.png) [@sulav](https://community.auth0.com/u/sulav)\
**Post date:** [April 19, 2023, 4:11pm UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/4 "2023-04-19T16:11:21Z")

</div>

The format is +861891XXXXXXX. The total number length is 11 excluding country code (+86). I hope this helps.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 19, 2023, 5:43pm UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/5 "2023-04-19T17:43:29Z")

</div>

Thank you! Also, are you using the Auth0 delivery provider, or another provider?

---

<div class="post-metadata">

**Author:** ![sulav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sulav/32/33466_2.png) [@sulav](https://community.auth0.com/u/sulav)\
**Post date:** [April 20, 2023, 5:42am UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/6 "2023-04-20T05:42:27Z")

</div>

We have set up Twilio as a delivery provider from within the Auth0 (from Security → Multi-factor Auth → Phone Message → set Twilio as a message delivery).

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 20, 2023, 12:45pm UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/7 "2023-04-20T12:45:17Z")

</div>

Great, thanks for the additional info.

I’m trying to narrow down whether or not it is the provider who is rejecting the number, or Auth0.

Are there any more details on the error that is being thrown? I can’t find a reference to that error code. Is it possible it is missing something in the message?

---

<div class="post-metadata">

**Author:** ![sulav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sulav/32/33466_2.png) [@sulav](https://community.auth0.com/u/sulav)\
**Post date:** [April 21, 2023, 6:18am UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/8 "2023-04-21T06:18:42Z")

</div>

Hi Dan, like I said, the request never reached Twilio. The verification is being done from Auth0 and the error message being displayed is same as the `invalid-phone` prompt message that is listed here in this link : [Customize New Universal Login Text Prompts](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 23, 2023, 2:48pm UTC](https://community.auth0.com/t/invalid-phone-number-while-enrolling-for-mfa/104445/9 "2023-08-23T14:48:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
