-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When running gh api /user/emails I receive an HTTP 404 error despite being logged in (checked with gh auth status) If I first create a personal token on github.com and then run
gh api user/emails -H "Authorization: token <myusertoken>" I get the information I need.
Steps to reproduce the behavior
- run
gh api /user/emailsand get HTTP 404 error.
Expected vs actual behavior
gh api /user/emails should ideally return the same as the longer custom header command. Is it not possible to retrieve the user/email information via a standard SSH gh auth login?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working