# I get 'invalid token' error

**URL:** <https://community.auth0.com/t/i-get-invalid-token-error/77223>\
**Category:** Get Help\
**Tags:** jwt, management-api, auth0\
**Created:** [January 28, 2022, 2:35pm UTC](https://community.auth0.com/t/i-get-invalid-token-error/77223 "2022-01-28T14:35:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.amoros](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/m.amoros/32/34417_2.png) [@m.amoros](https://community.auth0.com/u/m.amoros)\
**Post date:** [January 28, 2022, 2:35pm UTC](https://community.auth0.com/t/i-get-invalid-token-error/77223/1 "2022-01-28T14:35:39Z")

</div>

I am using management API to update user’s app\_metadata object. My problem is get ‘Invalid token’ error every time.

I do not think this is about my code because I get the same error when using the test jwt on [Auth0 Management API v2](https://auth0.com/docs/api/management/v2) playground.

I have update:users and update:users\_app\_metadata scopes enabled.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 31, 2022, 8:06pm UTC](https://community.auth0.com/t/i-get-invalid-token-error/77223/3 "2022-01-31T20:06:40Z")

</div>

Hi @m.amoros,

Welcome to the Auth0 Community!

Is there more detail to the error? Typically we see an error message indicating the issue.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:33pm UTC](https://community.auth0.com/t/i-get-invalid-token-error/77223/4 "2022-04-08T16:33:00Z")

</div>

I’m going to mark this as resolved. Please create a new topic if the issue persists.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:33pm UTC](https://community.auth0.com/t/i-get-invalid-token-error/77223/5 "2022-04-08T16:33:04Z")

</div>


