Access Token not found in cache

vlangber
Contributor
Contributor

I have an integration with Paypal that always fails after it retrieves a new Access_token after the previous token expired. It fails with the following error message:

{"error":"invalid_token","error_description":"Access Token not found in cache"}

 

After a restart of the web application, the same code to fetch an Access_token works.

 

The only differences between the two responses from "/v1/oauth2/token" is that access_token and nonce are different (as expected). 

 

I have verified that the updated token is used in the call that fails. 

 

Any ideas why it works to fetch a new access token after a restart, but not when the previous access token has expired?

 

I have seen a few other questions with this error message, but none of them have a solution to the problem.

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.