Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Organization Scope Error

    Posted 06-05-2025 18:15

    shotes | 2019-06-17 18:54:19 UTC | #1

    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


    shotes | 2019-06-17 21:51:39 UTC | #2

    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.


    system | 2019-07-18 21:51:41 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 5370