Organization Scope Error

Hi,

I am having trouble using the getOrganizationsMe (api/v2/organizations/me) -- the OAtuh client I am using is a Code Authorization flow with the organization and organization:read-only scope set to it. I'm not sure if this affects the query, but I did set these two scopes to the OAuth client after its creation, not at creation time.

The result I am seeing is a 403 response with a 'App not authorized to use scope [organization, organization:readonly]' message. I am using this OAuth client successfully for other apis such as the creation of another OAuth client, etc.

Shota

Created a new oauth client - with only the organization scope set and it is working. The issue could've been either:

  1. the scope requires either 'organization' or 'organization:read-only' scope set, and not both, or
  2. scope can be set only at creation time

Hope this helps others - not as clear in the documentation.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.