Why does GitHub API require admin rights to leave a comment on a PR? #21556
Answered
by
dahlia
dahlia
asked this question in
New to GitHub
-
I tried to create a comment using GitHub HTTP API and I got the following response with 403 Forbidden:
The repository is not private but public, and the request was authenticated through a personal access token. (The response indeed contained X-RateLimit-Limit: 5000 header, an evidence that implies the request was properly authenticated.) What’s wrong with my use of GitHub API? Why does it requires admin rights to merely leave some comments? |
Beta Was this translation helpful? Give feedback.
Answered by
dahlia
Nov 3, 2017
Replies: 1 comment
-
Solved — It was because the personal access token didn’t have not enough scope (public_repo). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved — It was because the personal access token didn’t have not enough scope (public_repo).