# Potential bug

**URL:** <https://community.hubspot.com/t/potential-bug/114315>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [August 12, 2024, 3:18pm UTC](https://community.hubspot.com/t/potential-bug/114315 "2024-08-12T15:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OElias2](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@OElias2](https://community.hubspot.com/u/OElias2)\
**Post date:** [August 12, 2024, 3:18pm UTC](https://community.hubspot.com/t/potential-bug/114315/1 "2024-08-12T15:18:04Z")

</div>

Hello, I created an app and I connected it with a few required scopes. When I query the scopes my token has, I see that it has all the scopes I listed in the App (with

/oauth/v1/access-tokens/:token), including account-info.security.read.

But when I try to query **/account-info/v3/activity/audit-logs, I get this error:**

errors": [{“message”: “All of the following scopes are required.”,  
“context”: {“requiredScopes”: [“account-info.security.read”]}}]

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 13, 2024, 2:47pm UTC](https://community.hubspot.com/t/potential-bug/114315/2 "2024-08-13T14:47:05Z")

</div>

Hey, @OElias2 👋 Of the three endpoints on that page, the one you listed is limited to Enterprise portals (it’s the same restriction if you want to access this in-app). “Use this endpoint to export of a centralized audit log of user actions across your account (Enterprise subscriptions only).”— [**link**](https://developers.hubspot.com/docs/api/settings/account-activity-api#:~:text=Enterprise%20subscriptions%20only).

I hope this helps! — Jaycee
