<?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 Oauth token does not have proper permissions! (requires all of [form-analytics-api-access]) in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/379653#M37306</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know a question of a similar type has been posted, but there are some differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error ( Oauth token (xxx) does not have proper permissions! (requires all of [form-analytics-api-access]) ) for an account that should have those permissions (Marketing Pro).&lt;/P&gt;&lt;P&gt;Currently, I am trying to access the analytics report for forms, with Oauth. My purpose (for now) is retrieving the submissions per form for various forms, without an interest in the contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The portal ID is 4394779&lt;/P&gt;&lt;P&gt;Pricing tier: Marketing Pro&lt;/P&gt;&lt;P&gt;Endpoint:&lt;/P&gt;&lt;PRE&gt;url = &lt;SPAN&gt;f"https://api.hubapi.com/analytics/v2/reports/forms/monthly&amp;amp;start=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;start_date&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;end=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;end_date&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;f=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;form_id&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Scopes: Oauth, Forms, Reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which, according to &lt;A href="https://legacydocs.hubspot.com/docs/methods/analytics/analytics-overview#access" target="_blank" rel="noopener"&gt;this (access to analytics reporting per tier)&lt;/A&gt;&amp;nbsp; should be available already&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sun, 18 Oct 2020 22:16:11 GMT</pubDate>
    <dc:creator>devForFer</dc:creator>
    <dc:date>2020-10-18T22:16:11Z</dc:date>
    <item>
      <title>Oauth token does not have proper permissions! (requires all of [form-analytics-api-access])</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/379653#M37306</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know a question of a similar type has been posted, but there are some differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error ( Oauth token (xxx) does not have proper permissions! (requires all of [form-analytics-api-access]) ) for an account that should have those permissions (Marketing Pro).&lt;/P&gt;&lt;P&gt;Currently, I am trying to access the analytics report for forms, with Oauth. My purpose (for now) is retrieving the submissions per form for various forms, without an interest in the contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The portal ID is 4394779&lt;/P&gt;&lt;P&gt;Pricing tier: Marketing Pro&lt;/P&gt;&lt;P&gt;Endpoint:&lt;/P&gt;&lt;PRE&gt;url = &lt;SPAN&gt;f"https://api.hubapi.com/analytics/v2/reports/forms/monthly&amp;amp;start=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;start_date&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;end=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;end_date&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;f=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;form_id&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Scopes: Oauth, Forms, Reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which, according to &lt;A href="https://legacydocs.hubspot.com/docs/methods/analytics/analytics-overview#access" target="_blank" rel="noopener"&gt;this (access to analytics reporting per tier)&lt;/A&gt;&amp;nbsp; should be available already&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 22:16:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/379653#M37306</guid>
      <dc:creator>devForFer</dc:creator>
      <dc:date>2020-10-18T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth token does not have proper permissions! (requires all of [form-analytics-api-access])</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/380475#M37416</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148589"&gt;@devForFer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, I believe portal&amp;nbsp;&lt;SPAN&gt;4394779 has the necessary scopes to call the&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/analytics/get-analytics-data-by-object" target="_blank"&gt;Get Analytics data for specific objects&lt;/A&gt;&amp;nbsp;endpoint. The issue seems to be that the app that is requesting to call the&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/analytics/get-analytics-data-by-object" target="_blank"&gt;Get Analytics data for specific objects&lt;/A&gt;&amp;nbsp;endpoint doesn't have the necessary scope (&lt;A href="https://legacydocs.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank" rel="noopener"&gt;business-intelligence&lt;/A&gt;) granted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As such, could you ensure that the app that is making the request has the&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank" rel="noopener"&gt;business-intelligence&lt;/A&gt;&amp;nbsp;granted on portal 4394779?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 08:17:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/380475#M37416</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-10-21T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth token does not have proper permissions! (requires all of [form-analytics-api-access])</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/381148#M37482</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That seems to have solved the issue. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 20:13:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-token-does-not-have-proper-permissions-requires-all-of/m-p/381148#M37482</guid>
      <dc:creator>devForFer</dc:creator>
      <dc:date>2020-10-22T20:13:47Z</dc:date>
    </item>
  </channel>
</rss>

