APIs & Integrations

OElias2
Member

Potential bug

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"]}}]

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Potential bug

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.

 

I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes