Getting the 401 while trying the payment from Live box.. need help
Oxy1
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-25-2018
11:25 PM
Saying "401{"error":"invalid_client","error_description":"Client Authentication failed"}PayPal\Exception\PayPalConnectionException: Got Http response code 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token. in C:\xampp\htdocs\trader-api-v2\vendor\paypal\rest-api-sdk-php\lib\PayPal\Core\PayPalHttpConnection.php:202
Stack trace:"
2 REPLIES 2
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-05-2018
01:57 AM
Hello,
"401" means invalid client id.
You mentioned you're receiving this while trying the payment from a live box, but the endpoint where you're submitting the request is "https://api.sandbox.paypal.com/v1/oauth2/token."
Use the correct credentials with the correct endpoints to resolve the issue.
Was my post helpful? If so, please give me a kudos!
"401" means invalid client id.
You mentioned you're receiving this while trying the payment from a live box, but the endpoint where you're submitting the request is "https://api.sandbox.paypal.com/v1/oauth2/token."
Use the correct credentials with the correct endpoints to resolve the issue.
Was my post helpful? If so, please give me a kudos!
MANJUDEVI999
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-18-2023
07:04 PM
Error Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token. Hello sir please help me I am facing this problem which I have written above sir i need client secret and client id of live sound box
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
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard
- Security header is not valid error message in woo commerce in NVP/SOAP APIs