# Fail to get email from twitter

**URL:** <https://community.auth0.com/t/fail-to-get-email-from-twitter/33893>\
**Category:** Get Help\
**Tags:** twitter\
**Created:** [November 18, 2019, 9:28am UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893 "2019-11-18T09:28:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![h1-matsuda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/h1-matsuda/32/17435_2.png) [@h1-matsuda](https://community.auth0.com/u/h1-matsuda)\
**Post date:** [November 18, 2019, 9:28am UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893/1 "2019-11-18T09:28:28Z")

</div>

Hi, I’m very new to use Auth0.

Even though I follow the process on the document([https://auth0.com/docs/connections/social/twitter#troubleshooting](https://auth0.com/docs/connections/social/twitter#troubleshooting)), I repeatedly fail to get email from twitter.

I generate Consumer API keys at Twitter Developer App Management ([https://developer.twitter.com/en/apps](https://developer.twitter.com/en/apps)). and fill them at Twitter settings on Auth0, but get following message when I clicked ‘TRY’.

{  
“error”: “access\_denied”,  
“error\_description”: “Error retrieving email from twitter: [object Object]”  
}

Could anyone tell me any idea about the cause?

---

<div class="post-metadata">

**Author:** ![ashish](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashish/32/7056_2.png) [@ashish](https://community.auth0.com/u/ashish)\
**Post date:** [November 18, 2019, 10:54pm UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893/2 "2019-11-18T22:54:56Z")

</div>

Hi @h1-matsuda Welcome to auth0 community. Just to confirm you have followed instructions here for this specific message, right? [https://auth0.com/docs/connections/social/twitter#login-fails-with-message-error-retrieving-email-from-twitter-](https://auth0.com/docs/connections/social/twitter#login-fails-with-message-error-retrieving-email-from-twitter-)

Have you configured valid urls for T&S and Privacy policy? ![02%20am](https://global.discourse-cdn.com/auth0/original/3X/5/7/57bbf508e40a9bd40e7979501268823104a3f2df.png)

Also, you can use twitter account with just phone number as well. Are you testing with a user that actually has an email set on twitter?

---

<div class="post-metadata">

**Author:** ![h1-matsuda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/h1-matsuda/32/17435_2.png) [@h1-matsuda](https://community.auth0.com/u/h1-matsuda)\
**Post date:** [November 18, 2019, 11:59pm UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893/3 "2019-11-18T23:59:28Z")

</div>

Thank you for reply,

Sorry for late notice, I already registered Terms of service URL and Privacy policy URL as well, these are confirmed valid.  
Also, I tested twitter account with both phone number and email but ended up failing.  
Could you come up with any other cause aside from them?

---

<div class="post-metadata">

**Author:** ![juan.morales](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/juan.morales/32/24142_2.png) [@juan.morales](https://community.auth0.com/u/juan.morales)\
**Post date:** [September 11, 2020, 2:12pm UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893/5 "2020-09-11T14:12:42Z")

</div>

I resolved the problem adding configuration values in _Settings_, like this:

 ![Screen Shot 2020-09-11 at 9.08.52 AM](https://global.discourse-cdn.com/auth0/original/3X/7/7/779207cec8f4c58de51f490b5020fca94708aa0a.png)

The documentation isn’t clear. I need to debug the whole rule to understand why fail. I have started a new project 2 months ago, I found documentation in some cases is weird, incomplete or confuse.

---

<div class="post-metadata">

**Author:** ![ferlito.sergio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ferlito.sergio/32/12949_2.png) [@ferlito.sergio](https://community.auth0.com/u/ferlito.sergio)\
**Post date:** [November 13, 2020, 9:24am UTC](https://community.auth0.com/t/fail-to-get-email-from-twitter/33893/7 "2020-11-13T09:24:52Z")

</div>

Thanks, I had the same issue and fixed it following your suggestions.
