# Cant get identity with fresh access token. Unauthorized error. solved

**URL:** <https://www.patreondevelopers.com/t/cant-get-identity-with-fresh-access-token-unauthorized-error-solved/4899>\
**Category:** API Feedback\
**Created:** [November 3, 2021, 5:42am UTC](https://www.patreondevelopers.com/t/cant-get-identity-with-fresh-access-token-unauthorized-error-solved/4899 "2021-11-03T05:42:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rendom](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/rendom/32/1832_2.png) [@rendom](https://www.patreondevelopers.com/u/rendom)\
**Post date:** [November 3, 2021, 5:42am UTC](https://www.patreondevelopers.com/t/cant-get-identity-with-fresh-access-token-unauthorized-error-solved/4899/1 "2021-11-03T05:42:04Z")

</div>

I’m calling [https://www.patreon.com/api/oauth2/v2/identity](https://www.patreon.com/api/oauth2/v2/identity)  
with fresh access token received by oauth redirect

_Unauthorized",_

- 

```
       "detail": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials* 

```

and even if I refresh it using ‘[https://www.patreon.com/api/oauth2/token](https://www.patreon.com/api/oauth2/token)’ grant\_type refresh\_token and received refreshed access token it will give me same error. So it is correct access token not outdated.

But if I use creator access token then it is working.

solved: You need to add scope ‘identity’, identity[email] is not enough

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 5, 2021, 10:07pm UTC](https://www.patreondevelopers.com/t/cant-get-identity-with-fresh-access-token-unauthorized-error-solved/4899/2 "2021-11-05T22:07:51Z")

</div>

Yes, scope identity and scope identity[email] are different.
