<?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: Private app access token not works in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690124#M56709</link>
    <description>&lt;P&gt;Sorry, I'm new here&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; But I've checked, I think this post is in the developers area?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 04:40:43 GMT</pubDate>
    <dc:creator>Pna7</dc:creator>
    <dc:date>2022-09-07T04:40:43Z</dc:date>
    <item>
      <title>Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689612#M56695</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;Hi,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;I'm trying to use private app access token to call &lt;STRONG&gt;search companies api&lt;/STRONG&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;but I keep get &lt;STRONG&gt;401 errors.&lt;/STRONG&gt;&amp;nbsp;I also try on postman, and it works!(like this photo).&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="截圖 2022-09-07 下午4.54.06.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/74451i7CBE87E46865B537/image-size/large?v=v2&amp;amp;px=999" role="button" title="截圖 2022-09-07 下午4.54.06.png" alt="截圖 2022-09-07 下午4.54.06.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;I've&amp;nbsp;&lt;SPAN&gt;double-checked that if I input wrong access token, but I see nothing wrong.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;Here is my code:&lt;/FONT&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="截圖 2022-09-08 上午10.38.51.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/74523iFFAC715D49B285D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="截圖 2022-09-08 上午10.38.51.png" alt="截圖 2022-09-08 上午10.38.51.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="截圖 2022-09-08 上午10.37.18.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/74524iB3B15C7C2D83F41C/image-size/large?v=v2&amp;amp;px=999" role="button" title="截圖 2022-09-08 上午10.37.18.png" alt="截圖 2022-09-08 上午10.37.18.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 02:44:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689612#M56695</guid>
      <dc:creator>Pna7</dc:creator>
      <dc:date>2022-09-08T02:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689713#M56696</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/441789"&gt;@Pna7&lt;/a&gt;.&amp;nbsp;Have you posted this in the &lt;A href="https://community.hubspot.com/t5/HubSpot-Developers/ct-p/developers" target="_blank" rel="noopener"&gt;Developers&lt;/A&gt; area? I'm not a dev, so I'm not sure how I'd fix this, and I'm not sure many in the CRM/Sales forum would also have the dev knowledge. Code makes me itchy.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 12:26:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689713#M56696</guid>
      <dc:creator>danmoyle</dc:creator>
      <dc:date>2022-09-06T12:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689962#M56697</link>
      <description>&lt;P&gt;Have you ensured that you have granted your private app the appropriate scopes for the specific API request?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 19:13:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/689962#M56697</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2022-09-06T19:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690119#M56708</link>
      <description>&lt;P&gt;Yes, I'm sure that I've granted my app the scopes. (I almost opened every scopes&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 04:29:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690119#M56708</guid>
      <dc:creator>Pna7</dc:creator>
      <dc:date>2022-09-07T04:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690124#M56709</link>
      <description>&lt;P&gt;Sorry, I'm new here&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; But I've checked, I think this post is in the developers area?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 04:40:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690124#M56709</guid>
      <dc:creator>Pna7</dc:creator>
      <dc:date>2022-09-07T04:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690364#M56741</link>
      <description>&lt;P&gt;You are doing a GET in your code and a POST in postman.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 15:28:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690364#M56741</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2022-09-07T15:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690652#M56763</link>
      <description>&lt;P&gt;Sorry, I forget to update my new code. Here is the final code:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="截圖 2022-09-08 上午10.38.51.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/74521iC2424E6D1E2C5438/image-size/large?v=v2&amp;amp;px=999" role="button" title="截圖 2022-09-08 上午10.38.51.png" alt="截圖 2022-09-08 上午10.38.51.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="截圖 2022-09-08 上午10.37.18.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/74522iA6785CF9CAD0A25F/image-size/large?v=v2&amp;amp;px=999" role="button" title="截圖 2022-09-08 上午10.37.18.png" alt="截圖 2022-09-08 上午10.37.18.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This code is almost as same as postman's code, but still not work and got&amp;nbsp;&lt;STRONG&gt;401 error.&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 02:43:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690652#M56763</guid>
      <dc:creator>Pna7</dc:creator>
      <dc:date>2022-09-08T02:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690817#M56772</link>
      <description>&lt;P&gt;I don't know man.&amp;nbsp; That code your provided looks pretty much like it came straight out of postman. It seems like you can't be using the the correct API key if you are getting a 401 Error. I'd maybe reach out to support.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:29:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/690817#M56772</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2022-09-08T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Private app access token not works</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/691261#M56790</link>
      <description>&lt;P&gt;Thank you for your help.&lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 07:17:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-app-access-token-not-works/m-p/691261#M56790</guid>
      <dc:creator>Pna7</dc:creator>
      <dc:date>2022-09-09T07:17:31Z</dc:date>
    </item>
  </channel>
</rss>

