<?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 Betreff: A HubSpotAuthError has occurred in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1045667#M76898</link>
    <description>&lt;P&gt;Thanks, I am in contact with HubSpot support. As a temporary solution, I have created a second admin account, which is not affected by the scope error.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 10:45:23 GMT</pubDate>
    <dc:creator>Schascha</dc:creator>
    <dc:date>2024-09-25T10:45:23Z</dc:date>
    <item>
      <title>A HubSpotAuthError has occurred</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1041966#M76661</link>
      <description>&lt;P&gt;Unfortunately, it has not been possible to upload template files to my prod environment via the hubspot cli for a few days now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A HubSpotAuthError has occurred. Error while retrieving new access token: User xxx in account xxx does not have access to the following scopes [crm.schemas.custom.write,crm.objects.custom.write] in the token. Please generate a new token and try again.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to generate a new token with&amp;nbsp;&lt;EM&gt;hs auth&lt;/EM&gt; and visit the secure page an error is shown, that the actual token can not be shown (see image). Generating a new token leeds to the same scope error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-09-17 um 12.06.25.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/127102iA213A15DD473411B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2024-09-17 um 12.06.25.png" alt="Bildschirmfoto 2024-09-17 um 12.06.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not aware that we use custom objects&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help will be great. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:14:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1041966#M76661</guid>
      <dc:creator>Schascha</dc:creator>
      <dc:date>2024-09-17T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: A HubSpotAuthError has occurred</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1042323#M76687</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/147606"&gt;@Schascha&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your post. That is definitely an interesting, and frustrating, situation. This may be “faster” to get a resolution with a support ticket. Either by you, or your admin if you cannot. And I am happy to help where I can. I did some digging through old support tickets looking for matching, exact or partial, cases. I found a similar case that didn't give me an answer, but did provide a few questions to ask (these answers will be helpful in dealing with support as well &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Does this portal have an Enterprise-level subscription?&lt;/LI&gt;
 &lt;LI&gt;If not, do you know if this portal ever did in the past but has since downgraded?&lt;/LI&gt;
 &lt;LI&gt;Or, if not, do you know if this portal had an Enterprise trial in the past? (your super admin might know this)&lt;/LI&gt;
 &lt;LI&gt;Lastly, if you DM me the HubID (portal ID) I can take a look to see if there were any tier changes in the past or if there was an Enterprise trial (I would &lt;STRONG&gt;not&lt;/STRONG&gt; have access to the portal, but I can view some info from our internal tools)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;One other step you can take (and that support may request from you) is to collect a HAR file. Basically, you'd set up your browser to record a HAR, step though the process you take to get to the error, save the HAR file, and then you can analyze it on your own:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Follow the steps listed here – &lt;A href="https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Troubleshooting-Toolkit-Collecting-a-HAR-file-and-Trace/m-p/20103" target="_blank"&gt;&lt;STRONG&gt;How to collect a HAR file&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;Go through the process that gets you to the error&lt;/LI&gt;
 &lt;LI&gt;Once you have the error/warning, stop recording&lt;/LI&gt;
 &lt;LI&gt;Analyze and look for more specific scope (or other) warnings/errors — &lt;A href="https://toolbox.googleapps.com/apps/har_analyzer/" target="_blank"&gt;&lt;STRONG&gt;Google HAR Analyzer&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks for the additional information. — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 22:51:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1042323#M76687</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-09-17T22:51:47Z</dc:date>
    </item>
    <item>
      <title>Betreff: A HubSpotAuthError has occurred</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1045667#M76898</link>
      <description>&lt;P&gt;Thanks, I am in contact with HubSpot support. As a temporary solution, I have created a second admin account, which is not affected by the scope error.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 10:45:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1045667#M76898</guid>
      <dc:creator>Schascha</dc:creator>
      <dc:date>2024-09-25T10:45:23Z</dc:date>
    </item>
    <item>
      <title>Betreff: A HubSpotAuthError has occurred</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1046271#M76935</link>
      <description>&lt;P&gt;The following helped: Since I was caught in a loop that kept leading to a token with scope errors that could no longer be displayed or edited, I created a new token and immediately deactivated it without reloading the page. I was then able to generate a new token without scope errors again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:15:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/A-HubSpotAuthError-has-occurred/m-p/1046271#M76935</guid>
      <dc:creator>Schascha</dc:creator>
      <dc:date>2024-09-26T09:15:26Z</dc:date>
    </item>
  </channel>
</rss>

