<?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: Oauth Token does not have proper permissions Issue in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248936#M21729</link>
    <description>&lt;P&gt;Welcome, &lt;A class="mention" href="https://community.hubspot.com/u/kalyani"&gt;@Kalyani&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The scopes your app requests in the &lt;CODE&gt;scope&lt;/CODE&gt; and &lt;CODE&gt;optional_scope&lt;/CODE&gt; parameters aren't necessarily the scopes that the OAuth token can access (especially when dealing with an &lt;CODE&gt;optional_scope&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;What is the Hub ID of the account throwing this error? Per &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" rel="nofollow noopener"&gt;this documentation&lt;/A&gt;, only accounts with paid &lt;EM&gt;Marketing Hub&lt;/EM&gt; subscriptions have &lt;CODE&gt;content&lt;/CODE&gt; access.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 18:37:51 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2018-12-27T18:37:51Z</dc:date>
    <item>
      <title>Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248934#M21727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to get the list of blog posts from the HubSpot API and I get the following error -&lt;/P&gt;
&lt;P&gt;(403) This oauth-token does not have proper permissions! (requires all of [content-access])&lt;/P&gt;
&lt;P&gt;There is scope sent in the URL for Oauth creation  -&lt;/P&gt;
&lt;P&gt;scope=contacts&amp;amp;optional_scope=&lt;STRONG&gt;content&lt;/STRONG&gt;%20reports%20social%20timeline%20business-intelligence&lt;/P&gt;
&lt;P&gt;You will notice the content scope is already present in it.&lt;/P&gt;
&lt;P&gt;Can you please let me know what else is required here?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 08:29:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248934#M21727</guid>
      <dc:creator />
      <dc:date>2018-12-27T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248935#M21728</link>
      <description>&lt;P&gt;Have you tried putting &lt;CODE&gt;"content"&lt;/CODE&gt; in &lt;CODE&gt;scope&lt;/CODE&gt; instead of &lt;CODE&gt;optional_scope&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 09:39:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248935#M21728</guid>
      <dc:creator>dhirajpandey</dc:creator>
      <dc:date>2018-12-27T09:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248936#M21729</link>
      <description>&lt;P&gt;Welcome, &lt;A class="mention" href="https://community.hubspot.com/u/kalyani"&gt;@Kalyani&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The scopes your app requests in the &lt;CODE&gt;scope&lt;/CODE&gt; and &lt;CODE&gt;optional_scope&lt;/CODE&gt; parameters aren't necessarily the scopes that the OAuth token can access (especially when dealing with an &lt;CODE&gt;optional_scope&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;What is the Hub ID of the account throwing this error? Per &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" rel="nofollow noopener"&gt;this documentation&lt;/A&gt;, only accounts with paid &lt;EM&gt;Marketing Hub&lt;/EM&gt; subscriptions have &lt;CODE&gt;content&lt;/CODE&gt; access.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:37:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248936#M21729</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-12-27T18:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248937#M21730</link>
      <description>&lt;P&gt;Thanks Isaac, but the same query with the API key authentication works fine. Thats why I am confused.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 04:10:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248937#M21730</guid>
      <dc:creator />
      <dc:date>2018-12-28T04:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248938#M21731</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/kalyani"&gt;@Kalyani&lt;/A&gt;, according to the same document that &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt; pointed out -&lt;BR /&gt;
" Optional scopes will be automatically dropped from the authorization request if the user selects a HubSpot account that does not have access to that tool (such as requesting the social scope on a CRM only portal). If you're using optional scopes, you will need to check the &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information" rel="nofollow noopener"&gt;access token&lt;/A&gt; or &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/get-refresh-token-information" rel="nofollow noopener"&gt;refresh token&lt;/A&gt; to see which scopes were granted."&lt;BR /&gt;
You can check where things aren't working as they should.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 07:05:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248938#M21731</guid>
      <dc:creator>dhirajpandey</dc:creator>
      <dc:date>2018-12-28T07:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248939#M21732</link>
      <description>&lt;P&gt;Hey, &lt;A class="mention" href="https://community.hubspot.com/u/kalyani"&gt;@Kalyani&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A class="mention" href="https://community.hubspot.com/u/dhirajpandey"&gt;@dhirajpandey&lt;/A&gt; is correct. There are other factors at play than just including the scope in either the &lt;CODE&gt;scope&lt;/CODE&gt; or &lt;CODE&gt;optional_scope&lt;/CODE&gt; parameters. That's why I asked for the Hub ID you are attempting to connect to.&lt;/P&gt;
&lt;P&gt;Could you also share:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The name of the user who is trying to connect your app. (I'll want to check their permissions in the account.)&lt;/LI&gt;
&lt;LI&gt;The results of &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information" rel="nofollow noopener"&gt;this endpoint&lt;/A&gt; (but do &lt;EM&gt;not&lt;/EM&gt; include the &lt;CODE&gt;token&lt;/CODE&gt; value)? We're looking for &lt;CODE&gt;content&lt;/CODE&gt; in the &lt;CODE&gt;scopes&lt;/CODE&gt; array.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 28 Dec 2018 13:45:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248939#M21732</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-12-28T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248940#M21733</link>
      <description>&lt;P&gt;Hi Issac and Dhiraj,&lt;/P&gt;
&lt;P&gt;Thanks for the input. I am working with one of our customers, I don't really have access to their details.&lt;BR /&gt;
Let me investigate this further on my end and back to you with more details.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 05:04:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248940#M21733</guid>
      <dc:creator />
      <dc:date>2019-01-02T05:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth Token does not have proper permissions Issue</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248941#M21734</link>
      <description>&lt;P&gt;Sounds good, &lt;A class="mention" href="https://community.hubspot.com/u/kalyani"&gt;@Kalyani&lt;/A&gt;! I look forward to hearing back from you.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 12:58:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Oauth-Token-does-not-have-proper-permissions-Issue/m-p/248941#M21734</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-01-02T12:58:55Z</dc:date>
    </item>
  </channel>
</rss>

