"Resource not accessible by personal access token" when adding new collaborators on a repo #84932
Unanswered
tomorrowdevsit
asked this question in
API and Webhooks
Replies: 2 comments 1 reply
-
I've also double checked here if I was missing something, but apparently everything has been set correctly, so I'm wondering what's wrong. |
Beta Was this translation helpful? Give feedback.
1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I'm wondering which kind of permission I've to set in order to add new collaborators on a Repo through API calls.
I've successfully created an organization Repo, using a fine-grained personal access token configured with Administrations permissions.
After that I would like to invite some collaborators, but the API fails with the error "Resource not accessible by personal access token".
The API returns:
x-accepted-github-permissions: administration=write
which identifies the need of an Administration permission, which I've already set on the above mentioned token.
What should be the right setting for that?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions