{"error":"invalid_token","error_description":"Access Token not found in cache"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when we use the spring boot to request the paypal API, it works well after boot . But after 1 day no access as a weekend, it works wrong seems {"error":"invalid_token","error_description":"Access Token not found in cache"},and 401 not found. I check a lot messages about this in this community,but nobody resolve it . some versions here:
<java.version>1.8</java.version>
<paypal-rest.version>1.14.0</paypal-rest.version>
<paypal-checkout.version>1.0.4</paypal-checkout.version>
<paypal-out.version>1.1.0</paypal-out.version>
<paypal-core.version>1.7.2</paypal-core.version>
any one can really help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @smeet2023,
Thank you for reaching out to the PayPal community for assistance.
To help you resolve the issue you are facing, please follow the steps provided in the detailed guided link below:
https://developer.paypal.com/api/rest/authentication/
https://developer.paypal.com/api/rest/postman/
Please note that if the token you receive is not used within 24 hours, you will need to generate a new one.
If you are still experiencing the issue after following these steps, kindly create an MTS ticket via the following URL: https://www.paypal-support.com/s/?language=en_US. Please provide a detailed description of the issue you are facing and any error details you have encountered.
Thank you for your understanding.
Best regards,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you very much, we change code to generate token everytime calling api and not find the same problem yet now.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Which api can get oauth2.0 authorization_code? in REST APIs
- Paypal 3DS intigration error in NVP/SOAP APIs
- Is PaymentPlugins an official PayPal partner ? in PayPal Payments Standard
- JS SDK Error: GET_MERCHANT_COUNTRY_ERROR – Assistance with Country Configuration Settings in SDKs
- Compliance violation. flag based on the account origin ? in Sandbox Environment