# Permissions Token Error, Invalid Token

**URL:** <https://forum.keycloak.org/t/permissions-token-error-invalid-token/8639>\
**Category:** Miscellanaeous\
**Created:** [April 21, 2021, 4:48pm UTC](https://forum.keycloak.org/t/permissions-token-error-invalid-token/8639 "2021-04-21T16:48:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nytram](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/nytram/32/583_2.png) [@nytram](https://forum.keycloak.org/u/nytram)\
**Post date:** [April 21, 2021, 4:48pm UTC](https://forum.keycloak.org/t/permissions-token-error-invalid-token/8639/1 "2021-04-21T16:48:52Z")

</div>

Hi, I’ve got an issue with a token that on the face of it appears valid - has all the correct permissions, valid etc but i’m getting a 403 response and this warning is appearing in the keycloak logs.

> 2021-04-21T16:44:18.564909080Z 16:44:18,563 WARN [org.keycloak.events] (default task-5243) type=PERMISSION\_TOKEN\_ERROR, realmId=d2c, clientId=d2c-location, userId=null, ipAddress=10.253.142.157, error=invalid\_token, reason=‘HTTP 500 Internal Server Error’, auth\_method=oauth\_credentials, grant\_type=urn:ietf:params:oauth:grant-type:uma-ticket, client\_auth\_method=client-secret

anyone got any ideas what might cause this, i’m using keycloak version 11.0.2

---

<div class="post-metadata">

**Author:** ![jithset](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jithset/32/3193_2.png) [@jithset](https://forum.keycloak.org/u/jithset)\
**Post date:** [June 26, 2021, 12:50pm UTC](https://forum.keycloak.org/t/permissions-token-error-invalid-token/8639/2 "2021-06-26T12:50:13Z")

</div>

Hello i have the same issue.  
is your issue solved

---

<div class="post-metadata">

**Author:** ![yakupkariksiz](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/yakupkariksiz/32/3669_2.png) [@yakupkariksiz](https://forum.keycloak.org/u/yakupkariksiz)\
**Post date:** [August 10, 2021, 7:56am UTC](https://forum.keycloak.org/t/permissions-token-error-invalid-token/8639/3 "2021-08-10T07:56:35Z")

</div>

I also get similar error like below. It seems that the user is locked. Because I didn’t change anything. Only thing I did making calls a lot of times. Keycloak version I’m using is : 14.0.0

09:44:05,342 WARN [org.keycloak.events] (default task-4) type=PERMISSION\_TOKEN\_ERROR, realmId=yk\_realm, clientId=yk\_client, userId=a8abe48d-8e80-4c61-a2c0-2e5980792dd7, ipAddress=127.0.0.1, error=access\_denied, reason=not\_authorized, auth\_method=oauth\_credentials, audience=yk\_client, grant\_type=urn:ietf:params:oauth:grant-type:uma-ticket, permission=01d180a6-2170-4727-a98b-cb907ef5f7b6#read,update,create,delete, client\_auth\_method=client-secret
