I get this weird error from the GraphQL API:
Your token has not been granted the required scopes to execute this query. The ‘__typename’ field requires one of the following scopes: [‘read:org’], but your token has only been granted the: [‘admin:org_hook’, ‘admin:repo_hook’, ‘delete_repo’, ‘gist’, ‘notifications’, ‘repo’, ‘user’, ‘write:org’] scopes. Please modify your token’s scopes at: https://github.com/settings/tokens.
I’m trying to list all the user in an organization, but it fails that way. The incorrect thing here is that my token does not just have
read:org permissions, but also
write:org (which implies
read:org). When I downgraded the permissions to just
read:org it started to work. Ditto for
Can you please fix this?