Skip to content

404 while creating new PR review #24591

Discussion options

You must be logged in to vote

Hi,

So I finally found the issue. The token I was using didn’t have the permission public_repo, and so didn’t work.

This is really confusing tho, since the return code is 404 and no information about what permissions are required is given in the API documentation.

IMO, for this to be more user friendly, the required permissions should be explicit on the API documentation and the return code for the operation with a lack-privileged token should be 403.

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