Access token not approved

Hi Team,

We are using access token to authenticate the apigee calls. For few calls, the access token is getting authorized and call was allowed, for few calls, OAuthV2VerifyAccessToken is failing with "keymanagement.service.access_token_not_approved". Again subsequent calls are success. Only few calls we are having this issue. Any idea how come few calls for the same access token is success and some are failing? 

 

Let me know if any details are required from my side.

0 1 115
1 REPLY 1

That is an odd behavior to see. 

It is possible to set the status of a developer, app, or credential to "not approved" or "revoked".  In that case, a token that had been previously obtained with a now-revoked dev, app, or cred,    would be rejected with something like the message you described. 

But, if you are not changing the status of any dev, app or cred, then I would not expect to see the token being sometimes approved and sometimes not approved. 

What version of Apigee are you using? 

I would suggest contacting Apigee support to diagnose this strange behavior.