The Community Forum is not available for new posts or responses; previous posts remain available to review. For comprehensive support options, please visit PayPal.com/HelpCenter
Merchant Technical Support: For technical support and related questions, please visit our Technical Support Help Center or Developer Central
If you want to report illegal content under the EU Digital Services Act, please do so here
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.