<?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: Bad Request errors setting up account auth in HubSpot CLI in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Bad-Request-errors-setting-up-account-auth-in-HubSpot-CLI/m-p/1213219#M84982</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002418"&gt;@iBos&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share your Node version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the documentations states "To develop on HubSpot locally, you’ll need to install Node.js, ... &lt;STRONG&gt;Versions 20 or higher&lt;/STRONG&gt; are supported."&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/install-the-cli#install-dependencies" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/install-the-cli#install-dependencies&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further reference about hs init command:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/reference#hs-init-command" target="_blank"&gt;https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/reference#hs-init-command&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check whether this is the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 19:20:16 GMT</pubDate>
    <dc:creator>kosalaindrasiri</dc:creator>
    <dc:date>2025-10-16T19:20:16Z</dc:date>
    <item>
      <title>Bad Request errors setting up account auth in HubSpot CLI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Bad-Request-errors-setting-up-account-auth-in-HubSpot-CLI/m-p/1213156#M84979</link>
      <description>&lt;P&gt;Following the instructions in the developer documentation, I've installed hubspot cli (v7.8.0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calling &lt;FONT face="courier new,courier"&gt;hs get-started&lt;/FONT&gt; gives an error&amp;nbsp;&lt;FONT face="courier new,courier"&gt;[ERROR] A hubspot.config.yml file could not be found&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calling &lt;FONT face="courier new,courier"&gt;hs init&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;hs account auth&lt;/FONT&gt; gives a massive node.js error, the detailMessage is 'The request was bad.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like the failure is calling POST&amp;nbsp;&lt;A href="https://api.hubapi.com/content/filemapper/v1/cms-cli-usage" target="_blank"&gt;https://api.hubapi.com/content/filemapper/v1/cms-cli-usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried that in a REST client with the payload extracted from the error message and I get a 202 OK response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 15:56:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Bad-Request-errors-setting-up-account-auth-in-HubSpot-CLI/m-p/1213156#M84979</guid>
      <dc:creator>iBos</dc:creator>
      <dc:date>2025-10-16T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request errors setting up account auth in HubSpot CLI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Bad-Request-errors-setting-up-account-auth-in-HubSpot-CLI/m-p/1213219#M84982</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1002418"&gt;@iBos&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share your Node version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the documentations states "To develop on HubSpot locally, you’ll need to install Node.js, ... &lt;STRONG&gt;Versions 20 or higher&lt;/STRONG&gt; are supported."&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/install-the-cli#install-dependencies" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/install-the-cli#install-dependencies&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further reference about hs init command:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/reference#hs-init-command" target="_blank"&gt;https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/reference#hs-init-command&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check whether this is the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 19:20:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Bad-Request-errors-setting-up-account-auth-in-HubSpot-CLI/m-p/1213219#M84982</guid>
      <dc:creator>kosalaindrasiri</dc:creator>
      <dc:date>2025-10-16T19:20:16Z</dc:date>
    </item>
  </channel>
</rss>

