I have followed the documentation and used explicit OAuth 2.0 flow for access_token
generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry
. Then I got the access_token
.
When I am using applicationKey
and access_token
for fetch data through Stack Exchange API, I am getting following error :
{
"error_id": 403,
"error_message": "`key` is not valid for passed `access_token`, token notfound.",
"error_name": "access_denied"
}
I initially thought that there is something wrong with applicationKey
.
Then I found that using same applicationKey
(used for access_token
generation) in request are working fine for other API Methods where access_token
is not required.