Unable to download dispute related attachment via Rest Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to download dispute related attachment via Rest Api
Access token was generated with all the scopes below:
"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://uri.paypal.com/payments/payouts https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks"
request url with proper bearer token:
full response:
{"name":"NOT_AUTHORIZED","debug_id":"9911d2bde7adc","message":"Authorization failed due to insufficient permissions.","details":[{"issue":"NOT_AUTHORIZED","description":"Authorization failed due to insufficient permissions."}]}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @fazleyrabby
Thank you for posting to the PayPal community.
I would suggest to please contact your website developer or the third party eCommerce support to cross check your using same SANDBOX REST API Credentials(Client ID & Secret) while performing the below API calls.
https://developer.paypal.com/api/rest/authentication/
https://developer.paypal.com/api/rest/postman/
Also, If a third-party eCommerce partner is performing API operation on your behalf, you(i.e merchant) should be on-boarded and necessary API permissions should be granted to the Partner(API Caller).
https://developer.paypal.com/docs/multiparty/
https://developer.paypal.com/docs/multiparty/seller-onboarding/
Merchants can manually grant permission to a third-party eCommerce to access specific information in your PayPal account and perform PayPal API operations on your behalf.
Login PayPal.com >> Settings >> Account Settings >> Website payments >> API Access >> Pre-built payment solution >> Grant API permission >> contact your "Third party software eCommerce" for Third Party Permission Username >> enter the username.
Direct link - https://www.paypal.com/cgi-bin/webscr?cmd=_profile-api-grant-authorization
https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/admin/third-party/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment
- how to download the files attachment of documents in dispute's message. in REST APIs
- Remove Shipping Address Fields for Subscription in REST APIs
- How to encrypt Successful Payment URL Field so each buyer can't share the product download page? in SDKs