i have this error
nas2day
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-24-2022
05:22 PM
Invalid Payment Processor
Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token..
any way to fix this problem?
1 REPLY 1

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-28-2022
07:17 AM
Hello,
The HTTP 401 is an authentication error, which means the credentials being used (client_id & client_secret) are not valid.
Follow the guide available here :
https://developer.paypal.com/reference/get-an-access-token
(note : ensure to leave the ":" in-between the client_id and client_secret when requesting an access token)
You will also need to use the REST API credentials from a "LIVE" environment REST application when submitting a request for an access token to the endpoint "https://api.paypal.com/v1/oauth2/token"
Thanks !
Was my post helpful? If so, please give me a kudos!
The HTTP 401 is an authentication error, which means the credentials being used (client_id & client_secret) are not valid.
Follow the guide available here :
https://developer.paypal.com/reference/get-an-access-token
(note : ensure to leave the ":" in-between the client_id and client_secret when requesting an access token)
You will also need to use the REST API credentials from a "LIVE" environment REST application when submitting a request for an access token to the endpoint "https://api.paypal.com/v1/oauth2/token"
Thanks !
Was my post helpful? If so, please give me a kudos!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Error message for obtaining access_token in REST APIs
- Couldn't receive International payment in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Things don’t appear to be working at the moment in PayPal Payments Standard
- Something went wrong. Contact the merchant for help. in PayPal Payments Standard