I'm suddenly getting this error when making API calls to my StackOverflow Team API:
{
"error_id": 403,
"error_message": "`key` is not valid for passed `access_token`, token not found.",
"error_name": "access_denied"
}
This is the GET request I'm trying to make:
https://api.stackexchange.com/2.2/comments?site=stackoverflow&team=stackoverflow.com/c/<team-name>&filter=total&key=<team-key>
With the following header for authentication:
X-API-Access-Token: <api-token>
I've obtained my tokens with a no-expiry
scope, and they were working last week, but requests to the API are now returning the error above.
What could be the issue?