Permission denied when calling /v1/reporting/transactions
d4n333
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-05-2020
11:48 AM
Hi there,
When I call /v1/reporting/transactions I get
stdClass Object ( [localizedMessage] => No permission for the requested operation. [suppressed] => Array ( ) [name] => PERMISSION_DENIED [message] => No permission for the requested operation. [details] => Array ( [0] => stdClass Object ( [field] => [value] => [location] => [issue] => No permission for the requested operation. ) ) [information_link] => https://developer.paypal.com/docs/classic/products/permissions/ [debug_id] => feb53d91bc653 )
The information_link goes 404.
This is my return for the access token:
stdClass Object | |
( | |
[scope] => https://api.paypal.com/v1/payments/.* openid https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://api.paypal.com/v1/vault/credit-card | |
[access_token] => xxxxxxxxxxx | |
[token_type] => Bearer | |
[app_id] => xxxxxxxx | |
[expires_in] => 31413 | |
[nonce] => 2020-09-05T18:13:10ZWC1fVcaKmT0Zbrr6fvgutXJOAL3pQCdoH-5MnIAXaqc | |
) | |
In the scope I dont see "/v1/reporting/transactions"?
In my "LIVE" App I have activated the "Transaction SearchAccess your PayPal transaction history." Checkbox, but it dont work. Has anybody an idea why?
d4n333
Labels:
Login to Me Too
- Labels:
-
Payments REST APIs
3 REPLIES 3
MTS_Stefan
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-08-2020
08:36 AM
Hello d4n333,
Based on the debug ID, you got an HTTP 403 / permission denied for that API call.
The redirect is intended to bring you where you can add the scope to resolve it.
The link however sent you to an outdated page, which is why you are seeing a 404. I will ask the content team to resolve that.
As for you, please go to My Apps & Credentials > sandbox or live and then within the REST App enable the Transaction Search to use:
https://developer.paypal.com/docs/api/transaction-search/v1/#transactions
Kind Regards,
Stefan
Based on the debug ID, you got an HTTP 403 / permission denied for that API call.
The redirect is intended to bring you where you can add the scope to resolve it.
The link however sent you to an outdated page, which is why you are seeing a 404. I will ask the content team to resolve that.
As for you, please go to My Apps & Credentials > sandbox or live and then within the REST App enable the Transaction Search to use:
https://developer.paypal.com/docs/api/transaction-search/v1/#transactions
Kind Regards,
Stefan
GeorgeKre
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-15-2021
12:01 PM
Have you ever resolved this issue?
I am still getting 403
No permission for the requested operation.
debug_id: 56abc30eee7f3
Even tho I checked
Transaction Search
Thanks,
George
jkdehorty
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-11-2021
03:06 PM
What fixed it for me was elevating the command prompt running CURL to admin. Would have been nice if that was documented somewhere.
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
- Problems with accent characters when calling Paypal API (v2/invoicing/invoices). in REST APIs
- Change the button from Sandbox to Production in REST APIs
- “This payment cannot be processed because there was an error with the capture order API call”. in REST APIs
- Tracking API: permissions error when trying to use Tracking API in Sandbox Environment
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs