- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @MANJUDEVI999,
Thank you for posting to the PayPal community.
Reported "401 error/Invalid Token" /"invalid_client"/"Client Authentication Failed" usually occurs if there is an issue with the REST API credentials you're attempting to use or you're attempting to use REST API credentials for our sandbox environment within our production environment or vice-versa.
I would suggest to please cross check the API credentials and valid for the environment where you're submitting the request.
Each REST application contains a set of both sandbox and production API credentials, with the sandbox credentials being shown by default.
Guide link - https://www.paypal.com/us/cshelp/article/how-do-i-create-rest-api-credentials-ts1949
Sincerely,
Chiranjeevi
PayPal/Braintree 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
Good day @MANJUDEVI999,
Thank you for posting to the PayPal community.
Reported "401 error/Invalid Token" /"invalid_client"/"Client Authentication Failed" usually occurs if there is an issue with the REST API credentials you're attempting to use or you're attempting to use REST API credentials for our sandbox environment within our production environment or vice-versa.
I would suggest to please cross check the API credentials and valid for the environment where you're submitting the request.
Each REST application contains a set of both sandbox and production API credentials, with the sandbox credentials being shown by default.
Guide link - https://www.paypal.com/us/cshelp/article/how-do-i-create-rest-api-credentials-ts1949
Sincerely,
Chiranjeevi
PayPal/Braintree 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

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- the payment_source is missing in response from api in REST APIs
- Why is the PaymentDate is different to the Timestamp in ExpressCheckout response? in NVP/SOAP APIs
- Error creating subscription in sandbox account using js api in REST APIs
- Get all available scopes in REST APIs
- After 3DS2 OTP verification page, Is payment completed or what, how to fetch response in REST APIs