<?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: Getting scope error in audit log api in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903239#M70201</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here is the api endpoint and subscription level.&lt;BR /&gt;I am using audit log api - GET -&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/account-info/v3/activity/audit-logs" target="_blank" rel="noopener"&gt;https://api.hubapi.com/account-info/v3/activity/audit-logs&lt;/A&gt;&lt;BR /&gt;subscription level -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NDubey6_0-1704865146939.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/106735iC45BD3DAA3D4FDA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NDubey6_0-1704865146939.png" alt="NDubey6_0-1704865146939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NDubey6_1-1704865609224.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/106736i5CA8A407E17F07A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NDubey6_1-1704865609224.png" alt="NDubey6_1-1704865609224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 05:46:57 GMT</pubDate>
    <dc:creator>NDubey6</dc:creator>
    <dc:date>2024-01-10T05:46:57Z</dc:date>
    <item>
      <title>Getting scope error in audit log api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/902774#M70173</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"status"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"This app hasn't been granted all required scopes to make this call. Read more about required scopes here: &lt;A href="https://developers.hubspot.com/scopes" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/scopes&lt;/A&gt;."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"correlationId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"a11d428f-48ee-4377-94b0-4bd7fecfaa44"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"errors"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"All of the following scopes are required."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"context"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"requiredScopes"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"account-info.security.read"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"links"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"scopes"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://developers.hubspot.com/scopes" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/scopes&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"category"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"MISSING_SCOPES"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;I already added this scope in my private app but&amp;nbsp;still, I am getting this error.&lt;BR /&gt;&lt;BR /&gt;i have a paid account&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jan 2024 13:05:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/902774#M70173</guid>
      <dc:creator>NDubey6</dc:creator>
      <dc:date>2024-01-09T13:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scope error in audit log api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903078#M70190</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/689351"&gt;@NDubey6&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; The&amp;nbsp;Account activity page has three endpoints. One is limited to Enterprise level accounts only —&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/settings/account-activity-api#:~:text=Enterprise%20subscriptions%20only" target="_blank" rel="noopener"&gt;Get a centralized audit log of user actions&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;GET /account-info/v3/activity/audit-logs&lt;/LI-CODE&gt;
&lt;P&gt;The other two endpoints do not have this restriction. This restriction also matches the options for accessing the &lt;A href="https://knowledge.hubspot.com/view-and-export-account-activity-history-in-a-centralized-audit-log?_ga=2.10690164.133318460.1704814373-262625543.1704814373&amp;amp;_gl=1*1rp0o47*_ga*MjYyNjI1NTQzLjE3MDQ4MTQzNzM.*_ga_LXTM6CQ0XK*MTcwNDgzMTg1OS4zLjEuMTcwNDgzNDE0Ny42MC4wLjA." target="_blank" rel="noopener"&gt;Audit Log in-app&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2024-01-09 at 14.07.48.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/106719i2DC02C6F01D2D6DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2024-01-09 at 14.07.48.png" alt="CleanShot 2024-01-09 at 14.07.48.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you specify which endpoint you are using and the subscription level of your portal, please? That will help narrow down potential causes for this warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the additional information! — Jaycee&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 21:10:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903078#M70190</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-01-09T21:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scope error in audit log api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903239#M70201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here is the api endpoint and subscription level.&lt;BR /&gt;I am using audit log api - GET -&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/account-info/v3/activity/audit-logs" target="_blank" rel="noopener"&gt;https://api.hubapi.com/account-info/v3/activity/audit-logs&lt;/A&gt;&lt;BR /&gt;subscription level -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NDubey6_0-1704865146939.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/106735iC45BD3DAA3D4FDA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NDubey6_0-1704865146939.png" alt="NDubey6_0-1704865146939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NDubey6_1-1704865609224.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/106736i5CA8A407E17F07A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NDubey6_1-1704865609224.png" alt="NDubey6_1-1704865609224.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 05:46:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903239#M70201</guid>
      <dc:creator>NDubey6</dc:creator>
      <dc:date>2024-01-10T05:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scope error in audit log api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903376#M70209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My end goal is to get user activity for all plan not just for enterprise.&lt;BR /&gt;Is there any different api or i use combination 2-3 api get the result&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 12:15:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/903376#M70209</guid>
      <dc:creator>NDubey6</dc:creator>
      <dc:date>2024-01-10T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting scope error in audit log api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/904432#M70265</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/689351"&gt;@NDubey6&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; The Audit Log endpoint specifically is limited to Enterprise tiers. If you don't have that level of subscription, you'll need to see if the other two endpoints can get you the details you are after. — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 23:40:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-scope-error-in-audit-log-api/m-p/904432#M70265</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-01-11T23:40:20Z</dc:date>
    </item>
  </channel>
</rss>

