Got Http response code 401
junlu003
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-25-2020
04:41 AM
Hey Dear, could u give us some clue why we are integrating our REST API to PAYPAL
Always sending back the following information: “Got Http response code 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token.”
Labels:
Login to Me Too
- Labels:
-
Payments REST APIs
1 REPLY 1
MTS_Andre
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-25-2020
08:12 AM
Hi Junlu003, the http 401 generally means: Unauthorized AUTHENTICATION_FAILURE. Authentication failed due to invalid authentication credentials.
You can use this link as reference.
Check that you are using your Live API credentials on Live, while if you are using Sandbox environments make sure you are providing the Sandbox credentials to your integration / API call.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.