Discussions
REST call returns `forbidden.http.exception`
almost 2 years ago by Micha
Hi,
I query the /auth endpoint to get the first bearer token and the response is
{
"success": true,
"data": {
"token": "<TOKEN>"
}
}
However, using this token in the next request, i.e. for endpoint https://api.personio.de/v1/company/attendances
the response is
{
"success": false,
"error": {
"message": "personio.core.api.exceptions.api.forbidden.http.exception",
"code": 0
}
What is the problem?
The API Key I'm using has read and write access for attendances.
Thanks