<?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: Roles Endpoint Error in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150947#M82063</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/940362"&gt;@JLim063&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Well, by the error, I recommend you see the permission of this account. You can see the configurations on the tab Account Management -&amp;gt; User&amp;nbsp; &amp;amp; Teams, Look if the account has the&amp;nbsp;Super Admin permission. If you have already seen what I recommended, you can see this post&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/How-can-retrieve-roles-with-users/td-p/1018767" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/How-can-retrieve-roles-with-users/td-p/1018767&lt;/A&gt;&amp;nbsp;. Maybe it helps you with your problem.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcosBarcelos_0-1746897053083.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/145647i3F748F75759B2679/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcosBarcelos_0-1746897053083.png" alt="MarcosBarcelos_0-1746897053083.png" /&gt;&lt;/span&gt;&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="Captura de tela 2025-04-23 202119.png" style="width: 535px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144529i81A219091ACD6ACA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de tela 2025-04-23 202119.png" alt="Captura de tela 2025-04-23 202119.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 May 2025 17:20:09 GMT</pubDate>
    <dc:creator>MarcosBarcelos</dc:creator>
    <dc:date>2025-05-10T17:20:09Z</dc:date>
    <item>
      <title>Roles Endpoint Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150813#M82060</link>
      <description>&lt;P&gt;I am trying to use this endpoint&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://api.hubapi.com/settings/v3/users/roles" target="_blank"&gt;https://api.hubapi.com/settings/v3/users/roles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;`&lt;A href="https://developers.hubspot.com/docs/reference/api/settings/users/user-provisioning#get-%2Fsettings%2Fv3%2Fusers%2Froles`" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/reference/api/settings/users/user-provisioning#get-%2Fsettings%2Fv3%2Fusers%2Froles`&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the scopes required from the API endpoint, but calling that endpoint gives me an error response below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"status": "error",&lt;BR /&gt;"message": "Account doesn't have access to roles.",&lt;BR /&gt;"correlationId": "4d845a93-43a3-44db-ae5d-321b72328e78",&lt;BR /&gt;"category": "VALIDATION_ERROR"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;&lt;BR /&gt;I have searched through previous forums, but couldn't find answers for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you get role information?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 22:50:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150813#M82060</guid>
      <dc:creator>JLim063</dc:creator>
      <dc:date>2025-05-09T22:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Roles Endpoint Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150947#M82063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/940362"&gt;@JLim063&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Well, by the error, I recommend you see the permission of this account. You can see the configurations on the tab Account Management -&amp;gt; User&amp;nbsp; &amp;amp; Teams, Look if the account has the&amp;nbsp;Super Admin permission. If you have already seen what I recommended, you can see this post&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/How-can-retrieve-roles-with-users/td-p/1018767" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/How-can-retrieve-roles-with-users/td-p/1018767&lt;/A&gt;&amp;nbsp;. Maybe it helps you with your problem.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcosBarcelos_0-1746897053083.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/145647i3F748F75759B2679/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcosBarcelos_0-1746897053083.png" alt="MarcosBarcelos_0-1746897053083.png" /&gt;&lt;/span&gt;&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="Captura de tela 2025-04-23 202119.png" style="width: 535px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144529i81A219091ACD6ACA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de tela 2025-04-23 202119.png" alt="Captura de tela 2025-04-23 202119.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 17:20:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150947#M82063</guid>
      <dc:creator>MarcosBarcelos</dc:creator>
      <dc:date>2025-05-10T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Roles Endpoint Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150988#M82064</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/940362"&gt;@JLim063&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the error, this is typically one of the following issues:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Account tier limitation&lt;/LI&gt;
&lt;LI&gt;Permission requirements&lt;/LI&gt;
&lt;LI&gt;API authentication issues&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You can try the following steps to ensure everything is in place:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Confirm your HubSpot subscription level includes role management features&lt;/LI&gt;
&lt;LI&gt;Verify your user account has the proper administrative permissions&lt;/LI&gt;
&lt;LI&gt;Ensure your API authentication includes all required scopes for user provisioning&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 11 May 2025 04:38:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1150988#M82064</guid>
      <dc:creator>GiantFocal</dc:creator>
      <dc:date>2025-05-11T04:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Roles Endpoint Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1154236#M82171</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/940362"&gt;@JLim063&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The API is working fine, I just checked it. So, based on your error msg, I can say it must be because the account from which you have created the token doesn't have the required permission. You can try creating one from the super admin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 14:22:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1154236#M82171</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-05-19T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Roles Endpoint Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1156411#M82280</link>
      <description>&lt;P&gt;Hey, &lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/940362" target="_blank"&gt;@JLim063&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Does your portal have an Enterprise subsection for at least one Hub? This is because in-app roles are referred to as &lt;A href="https://knowledge.hubspot.com/user-management/create-permission-sets" target="_blank"&gt;&lt;STRONG&gt;Permission Sets&lt;/STRONG&gt;&lt;/A&gt;. I agree this is confusing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A quick way to test this is to do two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Go to your portal &amp;gt; Settings &amp;gt; Users and Teams &amp;gt; Permission Sets and verify if you have access. If so, note the names of the non-Super Admin Permission Sets (Roles)&lt;/LI&gt;&lt;LI&gt;Use this endpoint to confirm (for yourself) that Permission Sets and Roles are the same, just named differently. If you have access, and have created at least one Permission Set, it will appear in the Role endpoint response&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here's my test:&lt;/P&gt;&lt;P&gt;In-app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CleanShot 2025-05-23 at 10.51.23@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/146912iC031247A4A18D00B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2025-05-23 at 10.51.23@2x.png" alt="CleanShot 2025-05-23 at 10.51.23@2x.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Endpoint request and response&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://api.hubapi.com/settings/v3/users/rolesHTTP" target="_blank"&gt;https://api.hubapi.com/settings/v3/users/rolesHTTP&lt;/A&gt; 200

{
 &amp;nbsp;"results": [
 &amp;nbsp; &amp;nbsp;{
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"id": "482176",
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"name": "Ringmaster",
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"requiresBillingWrite": false
 &amp;nbsp; &amp;nbsp;},
 &amp;nbsp; &amp;nbsp;{
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"id": "1185020",
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"name": "Red Team",
 &amp;nbsp; &amp;nbsp; &amp;nbsp;"requiresBillingWrite": false
 &amp;nbsp; &amp;nbsp;}
 &amp;nbsp;]
}&lt;/P&gt;&lt;P&gt;&amp;nbsp;My guess is that the account you are using doesn't have an Enterprise subscription, which aligns with the original error you received.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talk soon! — Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 17:10:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Roles-Endpoint-Error/m-p/1156411#M82280</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-05-23T17:10:44Z</dc:date>
    </item>
  </channel>
</rss>

