Skip to content

Improve author-in-team 404 error with actionable permissions guidance#188

Open
srvaroa wants to merge 1 commit into
masterfrom
g.160
Open

Improve author-in-team 404 error with actionable permissions guidance#188
srvaroa wants to merge 1 commit into
masterfrom
g.160

Conversation

@srvaroa
Copy link
Copy Markdown
Owner

@srvaroa srvaroa commented Feb 15, 2026

When the GITHUB_TOKEN lacks read:org scope, GetTeamMembershipBySlug
returns a 404 that gives no indication of the actual problem. Detect
this case and return a clear error message explaining the token
permissions requirement and how to fix it. Also document the read:org
requirement in the README.

Fixes #160

When the GITHUB_TOKEN lacks read:org scope, GetTeamMembershipBySlug
returns a 404 that gives no indication of the actual problem. Detect
this case and return a clear error message explaining the token
permissions requirement and how to fix it. Also document the read:org
requirement in the README.

Fixes #160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

author-in-team 404ing despite being a member of the team

1 participant