# /passwordless/start returns 200 when Custom phone provider action throws an error

**URL:** <https://community.auth0.com/t/passwordless-start-returns-200-when-custom-phone-provider-action-throws-an-error/188747>\
**Category:** Get Help\
**Tags:** messaging-help-text-dashboard, dashboard\
**Created:** [July 4, 2025, 8:05am UTC](https://community.auth0.com/t/passwordless-start-returns-200-when-custom-phone-provider-action-throws-an-error/188747 "2025-07-04T08:05:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![administrator2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/administrator2/32/71239_2.png) [@administrator2](https://community.auth0.com/u/administrator2)\
**Post date:** [July 4, 2025, 8:05am UTC](https://community.auth0.com/t/passwordless-start-returns-200-when-custom-phone-provider-action-throws-an-error/188747/1 "2025-07-04T08:05:50Z")

</div>

When custom phone provider provider action under Brand-\>Phone provider fails, /passwordless/start API that is invoked by the Auth0PasswordlessLock widget returns 200 (OK). Hence there is no error displayed to the user even when though sending the SMS failed.

Is this is a known issue?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [July 21, 2025, 4:15pm UTC](https://community.auth0.com/t/passwordless-start-returns-200-when-custom-phone-provider-action-throws-an-error/188747/3 "2025-07-21T16:15:52Z")

</div>

Hi @administrator2

Welcome to the Auth0 Community!

Reading through the information provided, the returned 200 response indicates that the API is correctly called and there **should** not be any issues on the Auth0 side, meaning something happens on the provider’s end that prevents the SMS from being sent.

I would recommend implementing some console.logs within the Action to check what information is being sent. Multiple issues could occur, from the message being blank/non existent, to the sender’s or recipient’s phone number ( **from** and **to** ) being incorrect, or there might be restrictions when it comes to the destination’s country/network.

Console.logging might help pin-point the issue, where something is expected to be sent, but it is not.

Please let us know if you find anything else that could help with determining the exact issue. As you receive a 200 code, the logs of your tenant will most likely not show anything useful in this case.

I will leave some documentations here as well, in case they come in handy:

- [Set Up Custom SMS Gateway for Passwordless Connections](https://auth0.com/docs/authenticate/passwordless/authentication-methods/use-sms-gateway-passwordless)
- [Passwordless Authentication with SMS](https://auth0.com/docs/authenticate/passwordless/authentication-methods/sms-otp)
- [Configure a Custom Phone Provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers/configure-a-custom-phone-provider)

Have a great one!  
Gerald

---

<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 4, 2025, 4:16pm UTC](https://community.auth0.com/t/passwordless-start-returns-200-when-custom-phone-provider-action-throws-an-error/188747/4 "2025-08-04T16:16:20Z")

</div>

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