title: PayPal Transaction Search API: PERMISSION_DENIED, No Permission for the requested operation
body: <p>I'm writing a service (in .NET Core 3.1 and Refit if it matters) that pulls transaction activities from my PayPal business account for a given date range to use on an admin dashboard. Currently I'm following the tutorial here:</p>
  
  <p><a href="https://developer.paypal.com/docs/api/get-an-access-token-postman/" rel="noreferrer">https://developer.paypal.com/docs/api/get-an-access-token-postman/</a></p>
  
  <p>and here:</p>
  
  <p><a href="https://developer.paypal.com/docs/api/transaction-search/v1/" rel="noreferrer">https://developer.paypal.com/docs/api/transaction-search/v1/</a></p>
  
  <p>The first part, I can get an authorization key just fine (using curl or postman, curl below</p>
  
  <pre><code>curl --location --request POST 'https://api.paypal.com/v1/oauth2/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Authorization: Basic &lt;my client id&gt;:&lt;my secret&gt;' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  
  // not sure what this is, postman specific maybe? 
  --header 'Cookie: tsrce=devdiscoverynodeweb; ts=vr%3D0cee9361171ac120001362adffec14c3%26vreXpYrS%3D1679730671%26vteXpYrS%3D1585061694%26vt%3D0cee9390171ac120001362adffec14c2' \
  --data-urlencode 'grant_type=client_credentials'
  </code></pre>
  
  <p>This gives me an auth token both in postman and my custom service just fine. Next, when I try to pull the transactions (both in Postman and in code), I get an error</p>
  
  <p>cUrl:</p>
  
  <pre><code>curl --location --request GET 'https://api.paypal.com/v1/reporting/transactions?start_date=2020-03-01T00:00:00Z&amp;end_date=2020-03-31T23:59:59Z' \
  --header 'Authorization: Bearer &lt;my token&gt;' \
  // Postman???
  --header 'Cookie: tsrce=devdiscoverynodeweb; ts=vr%3D0cee9361171ac120001362adffec14c3%26vreXpYrS%3D1679730671%26vteXpYrS%3D1585061694%26vt%3D0cee9390171ac120001362adffec14c2'
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>{
      "localizedMessage": "No permission for the requested operation. ",
      "suppressed": [],
      "name": "PERMISSION_DENIED",
      "message": "No permission for the requested operation. ",
      "details": [
          {
              "field": null,
              "value": null,
              "location": null,
              "issue": "No permission for the requested operation. "
          }
      ],
      "information_link": "https://developer.paypal.com/docs/classic/products/permissions/",
      "debug_id": "7e315038e8073"
  }
  </code></pre>
  
  <p>The info link in the error starts talking about 3rd party permissions, which I'm not sure is applicable because it is my Business account. Anyone have any ideas? I checked transaction history on my app in PayPal, so I'm at a lost. </p>
  
  <p>Thanks in advance </p>