<?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: Access Products API with OAuth 2.0 | requires any of [crm-public-object-api-access] in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232528#M11424</link>
    <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/david_couturier"&gt;@David_Couturier&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you give me the scopes you're requesting? You need to request the &lt;CODE&gt;e-commerce&lt;/CODE&gt; scope for access to products/line items:&lt;/P&gt;
&lt;ASIDE class="onebox whitelistedgeneric"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/1X/46c7134e5c588b9723986216fcb862e4f64d25e8.png" class="site-icon" width="16" height="16" /&gt;
      &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank"&gt;developers.hubspot.com&lt;/A&gt;
  &lt;/HEADER&gt;
  &lt;ARTICLE class="onebox-body"&gt;
    

&lt;H3&gt;&lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank"&gt;Initiate an Integration with Oauth 2.0&lt;/A&gt;&lt;/H3&gt;

&lt;P&gt;https://app.hubspot.com/oauth/authorize - Initiate authentication for an app using OAuth 2.0&lt;/P&gt;


  &lt;/ARTICLE&gt;
  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;
  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;</description>
    <pubDate>Thu, 09 Aug 2018 22:41:15 GMT</pubDate>
    <dc:creator>Derek_Gervais</dc:creator>
    <dc:date>2018-08-09T22:41:15Z</dc:date>
    <item>
      <title>Access Products API with OAuth 2.0 | requires any of [crm-public-object-api-access]</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232526#M11422</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm currently trying to retrieve and create products via Products API using OAuth 2.0 authentication, but I got an error :&lt;/P&gt;
&lt;P&gt;"This oauth-token (x x x) does not have proper permissions! (requires any of [crm-public-object-api-access])"&lt;/P&gt;
&lt;P&gt;I can access Companies, Contacts and Deals with my token but I can't access products.&lt;/P&gt;
&lt;P&gt;I also tried to use Hapikey and it works with it but Hapikey is a bad authentication and I prefer to use OAuth 2.0.&lt;/P&gt;
&lt;P&gt;I know than Products API is under development so maybe the API don't work with OAuth but I did not see it anywhere.&lt;/P&gt;
&lt;P&gt;Does someone already got this error or have an idea of why it appends ?&lt;/P&gt;
&lt;P&gt;PS : excuse me for spelling errors, I'm french and I have never been good in english even if I try to make the less of them &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/twitter/wink.png?v=5" title=":wink:" class="emoji" alt=":wink:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:15:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232526#M11422</guid>
      <dc:creator />
      <dc:date>2018-08-01T16:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Access Products API with OAuth 2.0 | requires any of [crm-public-object-api-access]</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232527#M11423</link>
      <description>&lt;P&gt;I'm still blocked with this issue.&lt;/P&gt;
&lt;P&gt;Does someone know how to add [crm-public-object-api-access] permission ?&lt;/P&gt;
&lt;P&gt;I would like to use the OAuth 2.0 for products as for other APIs if possible.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 15:35:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232527#M11423</guid>
      <dc:creator />
      <dc:date>2018-08-07T15:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Access Products API with OAuth 2.0 | requires any of [crm-public-object-api-access]</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232528#M11424</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/david_couturier"&gt;@David_Couturier&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you give me the scopes you're requesting? You need to request the &lt;CODE&gt;e-commerce&lt;/CODE&gt; scope for access to products/line items:&lt;/P&gt;
&lt;ASIDE class="onebox whitelistedgeneric"&gt;
  &lt;HEADER class="source"&gt;
      &lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/1X/46c7134e5c588b9723986216fcb862e4f64d25e8.png" class="site-icon" width="16" height="16" /&gt;
      &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank"&gt;developers.hubspot.com&lt;/A&gt;
  &lt;/HEADER&gt;
  &lt;ARTICLE class="onebox-body"&gt;
    

&lt;H3&gt;&lt;A href="https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes" target="_blank"&gt;Initiate an Integration with Oauth 2.0&lt;/A&gt;&lt;/H3&gt;

&lt;P&gt;https://app.hubspot.com/oauth/authorize - Initiate authentication for an app using OAuth 2.0&lt;/P&gt;


  &lt;/ARTICLE&gt;
  &lt;DIV class="onebox-metadata"&gt;
    
    
  &lt;/DIV&gt;
  &lt;DIV style="clear: both"&gt;&lt;/DIV&gt;
&lt;/ASIDE&gt;</description>
      <pubDate>Thu, 09 Aug 2018 22:41:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232528#M11424</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2018-08-09T22:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access Products API with OAuth 2.0 | requires any of [crm-public-object-api-access]</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232529#M11425</link>
      <description>&lt;P&gt;Oh the scopes ! I completely forgot this notion.&lt;BR /&gt;
I was providing 'contacts' and 'automation' scopes like in the documentation's example and did not see the one for 'products' and 'line items'.&lt;/P&gt;
&lt;P&gt;Thanks &lt;A href="https://integrate.hubspot.com/u/Derek_Gervais"&gt;Derek_Gervais&lt;/A&gt; for your answer, it now work &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/twitter/wink.png?v=5" title=":wink:" class="emoji" alt=":wink:" /&gt;&lt;/P&gt;
&lt;P&gt;(And sorry for this stupid mistake ^^)&lt;/P&gt;
&lt;P&gt;I can mark this post as solved !&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 07:25:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Access-Products-API-with-OAuth-2-0-requires-any-of-crm-public/m-p/232529#M11425</guid>
      <dc:creator />
      <dc:date>2018-08-10T07:25:21Z</dc:date>
    </item>
  </channel>
</rss>

