Skip to content

Org flag raises GraphQL permissions error #72

@RichardLitt

Description

@RichardLitt

Using the --org flag causes a GraphQL permissions error.

🐕  node src/cli.js -o orbitdb -r example-orbitdb-todomvc
Error: Graphql error: {
  "data": null,
  "errors": [
    {
      "message": "Your token has not been granted the required scopes to execute this query. The 'name' field requires one of the following scopes: ['read:org'], but your token has only been granted the: ['repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.",
      "locations": [
        {
          "line": 122,
          "column": 1
        }
      ]
    }
  ]
}
    at parseResponse (/Users/richard/src/name-your-contributors/src/graphql.js:414:11)
    at <anonymous>

This works if you use -u instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions