# Getting an error for SMS passwordless at oauth/ro

**URL:** <https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975>\
**Category:** Get Help\
**Tags:** error, sms, passwordless\
**Created:** [June 8, 2017, 4:02pm UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975 "2017-06-08T16:02:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan.pourhadi](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dan.pourhadi](https://community.auth0.com/u/dan.pourhadi)\
**Post date:** [June 8, 2017, 4:02pm UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975/1 "2017-06-08T16:02:40Z")

</div>

Attempting to use the passworldless endpoints to verify phone numbers through Twillio.

Sending a verification code works, but when I try to hit the `oauth/ro` endpoint to verify the code I get a 500 error with the following:

```
{
  "error": "access_denied",
  "error_description": "Cannot read property 'split' of undefined"
}

```

However, when I check the user list, the phone number is listed as verified.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 8, 2017, 5:06pm UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975/2 "2017-06-08T17:06:36Z")

</div>

Given that you mention that the phone number shows up as verified this hints that the credentials validation part of the authentication transaction worked correctly.

After credentials validation (aka user login) any existing rules that you have configured will run. Rules can fail the authentication transaction and it’s **highly likely that you have configured a rule that throws an error** for passwordless based users which then invalidates the authentication transaction.

Most likely you’re assuming all users have a certain property and that assumption does not hold true for your passwordless users.

---

<div class="post-metadata">

**Author:** ![dan.pourhadi](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dan.pourhadi](https://community.auth0.com/u/dan.pourhadi)\
**Post date:** [June 10, 2017, 3:54pm UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975/3 "2017-06-10T15:54:08Z")

</div>

You nailed it!

many thanks

---

<div class="post-metadata">

**Author:** ![dan.pourhadi](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dan.pourhadi](https://community.auth0.com/u/dan.pourhadi)\
**Post date:** [June 10, 2017, 3:54pm UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975/4 "2017-06-10T15:54:08Z")

</div>

You nailed it!

many thanks

---

<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:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/getting-an-error-for-sms-passwordless-at-oauth-ro/6975/5 "2018-03-02T05:54:29Z")

</div>


