rest api response issue "USER_NOT_AUTHORIZED"
ismailalabou
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-19-2021
07:32 AM
api call response:
{
"errors": [
{
"name": "NOT_AUTHORIZED",
"message": "Not Authorized",
"debug_id": "3c49c4c0bc4ba",
"details": [
{
"field": "#/transaction_id",
"value": "51M282532U8742612",
"location": "body",
"issue": "USER_NOT_AUTHORIZED"
}
]
}
]
}
plus here is my get call:
https://api-m.sandbox.paypal.com/v1/shipping/trackers/51M282532U8742612-XYZ123456
PS: I believe that my partner sandbox account and API credentials are correct.
here is my cURL code:
curl --location --request GET 'https://api-m.sandbox.paypal.com/v1/shipping/trackers/51M282532U8742612-XYZ123456' \
--header 'Content-Type: application/json' \
--header 'Bearer: ...' \
--header 'Authorization: Basic ...'
0 REPLIES 0

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
- Issue linking bank account in PayPal Upgrade Community
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- QR Code Issue in Braintree Client-side Integration (JS, iOS, Android SDKs)