Discussions

Ask a Question
Back to All

GET Request - Error-Message: "The token has been blacklisted"

Hello everyone,

My problem is the following:
I want to make a simple get-request to an endpoint. But even when I make the request via your API-Reference Page (https://developer.personio.de/reference/get_company-employees) I get the response:

{
"success": false,
"error": {
"message": "The token has been blacklisted",
"code": 401
}
}

What I did so far:

  • In Personio, I have an administrator role.
  • In order to get my API credentials (client_id and client_secret) I went to Settings/Integrations/API credentials --> Generate new credentials. Gave me all the reading rights.

When I go on your reference page https://developer.personio.de/reference/post_auth-1 and make a request my my client_id and client secret, I get my token.

Then, when I copy and paste my token and submit it as token here https://developer.personio.de/reference/get_company-employees I get a 401 response from above.

With Python in VSCode, it's the same. I'm able to get the token, but a request to e.g. "https://api.personio.de/v1/company/employees" does not get a response.

Please help! :) Thanks!