Skip to content

Conversation

stefreak
Copy link
Member

@stefreak stefreak commented Jan 18, 2023

What this PR does / why we need it:

This PR patches #3492

The latest version of the gh utility fails with this error message:

non-200 OK status code: 401 Unauthorized body: "{\"message\":\"Personal access tokens with fine grained access do not support the GraphQL API\",\"documentation_url\":\"https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql\"}"

But when downgrading gh it works.

We can update to the latest version again once GitHub resolved cli/cli#6680

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

The latest version of the gh utility fails with this error message:

```
non-200 OK status code: 401 Unauthorized body: "{\"message\":\"Personal access tokens with fine grained access do not support the GraphQL API\",\"documentation_url\":\"https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql\"}"
```

But when downgrading gh it works.

We can update to the latest version again once GitHub resolved cli/cli#6680
@stefreak stefreak requested a review from twelvemo January 18, 2023 11:49
@stefreak stefreak merged commit 053c8ba into main Jan 18, 2023
@stefreak stefreak deleted the fix-gh branch January 18, 2023 14:39
vvagaytsev pushed a commit that referenced this pull request Jan 24, 2023
The latest version of the gh utility fails with this error message:

```
non-200 OK status code: 401 Unauthorized body: "{\"message\":\"Personal access tokens with fine grained access do not support the GraphQL API\",\"documentation_url\":\"https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql\"}"
```

But when downgrading gh it works.

We can update to the latest version again once GitHub resolved cli/cli#6680
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support fine-grained Personal Access Tokens (PAT v2)
2 participants