Permission denied when calling /v1/reporting/transactions

d4n333
New Community Member

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

Login to Me Too
3 REPLIES 3

MTS_Stefan
Moderator
Moderator
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
Login to Me Too

GeorgeKre
New Community Member

Have you ever resolved this issue?

 

I am still getting 403 

No permission for the requested operation.
 
debug_id56abc30eee7f3
 
Even tho I checked 

Transaction Search

 

Thanks,

George

 

Login to Me Too

jkdehorty
Contributor
Contributor

What fixed it for me was elevating the command prompt running CURL to admin. Would have been nice if that was documented somewhere.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.