Skip to content

404s for any authed request on REST API #24765

Answered by byrneh
pheel asked this question in API and Webhooks
Discussion options

You must be logged in to vote

Hi @pheel,

Strange as it works for me.
One thing I have found is many REST APIs responses will return a “Not Found”, rather than “does not have permission” for reasons of security/disclosure. So a “Not Found” root cause can be permission related, and community members have been confused by this when diagnosing problems.

Are you trying to access your user owned private repository or organization owned private repository? You example text implies organization “ORG”. I only ask as the token scope (‘repo’) and user permissions are two different things.
If its user permissions related a user owned repository you PAT I would expect to implicitly have access to its own user owned repositories wi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment