Error when trying to invalidate Bearer Token



I am getting an error when I try to invalidate the bearer token:

{“errors”:[{“label”:“authenticity_token_error”,“code”:99,“message”:“Unable to verify your credentials”}]}

Accept: /
Authorization: Basic ( base64encoded(urlencoded(key):urlencoded(secret)) )
Content-Length: 119
Content-Type: application/x-www-form-urlencoded

access_token= (the access token)

I have recreated the application without pressing the ‘create my access token’ button and invalidating the token is suddenly working.
Why is invalidate_token not working when you have created the access tokens with the ‘create my access token’ button in All the other application-only request (requesting bearer token and user_timeline) didn’t get the error.


I’ve got the same problem, and I see nobody has any answers. This appears to be a common problem. Perhaps it is broken or not documented properly?


access_token received from is already urlencoded, in case of python requests this can be achieved with urllib.unquote(access_token)