<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Payments API - Can't retrieve subscriptions due to scope, despite having said scope. in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966981#M73142</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/751210"&gt;@TristanBM&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&amp;nbsp;Can you confirm you have Payments enabled for this portal, please? The dev test portal I used didn't, and I didn't think about it before I made my original post.&lt;/P&gt;
&lt;P&gt;My Payments page (not set up)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2024-04-25 at 15.40.07.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/116227i6E95EBC6CDD7B2EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2024-04-25 at 15.40.07.png" alt="CleanShot 2024-04-25 at 15.40.07.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 21:42:51 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2024-04-25T21:42:51Z</dc:date>
    <item>
      <title>Payments API - Can't retrieve subscriptions due to scope, despite having said scope.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966218#M73100</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm trying to fetch subscriptions via the Payments API, however I can't list subscriptions due to a scoping issue. The necessary scopes are in fact available for the access token that I'm using, however.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;GET &lt;A href="https://api.hubapi.com/crm/v3/objects/subscriptions" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/subscriptions&lt;/A&gt;&lt;BR /&gt;---&lt;BR /&gt;-snip-&lt;BR /&gt;"message": "One or more of the following scopes are required.",&lt;BR /&gt;"context": {&lt;BR /&gt;&amp;nbsp; "requiredGranularScopes": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "crm.schemas.subscriptions.read",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "crm.objects.subscriptions.read"&lt;BR /&gt;&amp;nbsp; ]&lt;BR /&gt;}&lt;BR /&gt;-snip-&lt;BR /&gt;&lt;BR /&gt;The scopes on the API Key:&lt;BR /&gt;&lt;BR /&gt;GET &lt;A href="https://api.hubapi.com/oauth/v1/access-tokens/REDACTED" target="_blank" rel="noopener"&gt;https://api.hubapi.com/oauth/v1/access-tokens/REDACTED&lt;/A&gt;&lt;BR /&gt;---&lt;BR /&gt;-snip-&lt;BR /&gt;"scopes": [&lt;BR /&gt;"oauth",&lt;BR /&gt;"crm.objects.contacts.read",&lt;BR /&gt;"crm.schemas.contacts.read",&lt;BR /&gt;"crm.objects.companies.read",&lt;BR /&gt;"crm.schemas.companies.read",&lt;BR /&gt;&lt;STRONG&gt;"crm.objects.subscriptions.read",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"crm.schemas.subscriptions.read",&lt;/STRONG&gt;&lt;BR /&gt;"crm.schemas.commercepayments.read",&lt;BR /&gt;"crm.objects.commercepayments.read"&lt;BR /&gt;],&lt;BR /&gt;-snip-&lt;/PRE&gt;&lt;P&gt;Is this a known issue, or am I doing something wrong here?&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 18:48:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966218#M73100</guid>
      <dc:creator>TristanBM</dc:creator>
      <dc:date>2024-04-25T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Payments API - Can't retrieve subscriptions due to scope, despite having said scope.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966838#M73136</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/751210"&gt;@TristanBM&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for flagging this. I get the same error even with a net new Private App containing&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt; the required granular scopes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Private App&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2024-04-25 at 11.56.09.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/116202i1F43A711EA785178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2024-04-25 at 11.56.09.png" alt="CleanShot 2024-04-25 at 11.56.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Request&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/subscriptions?limit=10&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;Response&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;HTTP 403

{
  "status": "error",
  "message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",
  "correlationId": "b4f8096c-68f7-4f4b-942d-b8d562cc7737",
  "errors": [
    {
      "message": "One or more of the following scopes are required.",
      "context": {
        "requiredGranularScopes": [
          "crm.schemas.subscriptions.read",
          "crm.objects.subscriptions.read"
        ]
      }
    }
  ],
  "links": {
    "scopes": "https://developers.hubspot.com/scopes"
  },
  "category": "MISSING_SCOPES"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reported this to the dev doc team. I'll respond here when I get an update for us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 18:08:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966838#M73136</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-04-25T18:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Payments API - Can't retrieve subscriptions due to scope, despite having said scope.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966981#M73142</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/751210"&gt;@TristanBM&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&amp;nbsp;Can you confirm you have Payments enabled for this portal, please? The dev test portal I used didn't, and I didn't think about it before I made my original post.&lt;/P&gt;
&lt;P&gt;My Payments page (not set up)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2024-04-25 at 15.40.07.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/116227i6E95EBC6CDD7B2EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2024-04-25 at 15.40.07.png" alt="CleanShot 2024-04-25 at 15.40.07.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 21:42:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/966981#M73142</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-04-25T21:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Payments API - Can't retrieve subscriptions due to scope, despite having said scope.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/981111#M73835</link>
      <description>&lt;P&gt;Hey Jaycee, appreciate you forwarding it to the team.&lt;BR /&gt;&lt;BR /&gt;I was curious if you had any updates to share? Still seems to be an active issue on my end.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 10:35:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Payments-API-Can-t-retrieve-subscriptions-due-to-scope-despite/m-p/981111#M73835</guid>
      <dc:creator>TristanBM</dc:creator>
      <dc:date>2024-05-23T10:35:23Z</dc:date>
    </item>
  </channel>
</rss>

