# FAQ: I'm getting a "Cannot read property role from undefined" error

**URL:** <https://connective.celigo.com/t/faq-im-getting-a-cannot-read-property-role-from-undefined-error/1405>\
**Category:** Integration Apps\
**Tags:** authentication, error-handling, netsuite\
**Created:** [July 8, 2020, 10:09pm UTC](https://connective.celigo.com/t/faq-im-getting-a-cannot-read-property-role-from-undefined-error/1405 "2020-07-08T22:09:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![courtneyjordan](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@courtneyjordan](https://connective.celigo.com/u/courtneyjordan)\
**Post date:** [July 8, 2020, 10:09pm UTC](https://connective.celigo.com/t/faq-im-getting-a-cannot-read-property-role-from-undefined-error/1405/1 "2020-07-08T22:09:31Z")

</div>

If you're getting this error:

```
Error message : Cannot read property "role" from undefined. 
```

You need to change your authentication type:

1. Change the connection to basic authentication type. Add email and password. 

2. Specify Celigo Integrator IO TBA role and validate the connection. 

3. Switch back to token based authentication

If this doesn't resolve your issue, let us know so that we can improve this answer!
