{
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user"
}
I added all permissions in https://github.com/settings/apps -> github apps -> -> permissions
If i switch to fine grain token it works just fine but on my account. The thing is i want to create repos on behalf of other user validated with my app.
Do you have any idea how to fix it?
Hello Josh nice app! I saw your post on stackoverflow https://stackoverflow.com/questions/74308847/how-do-i-use-github-api-to-create-a-new-repository-for-a-user-that-installs-my-g Im trying to do something similar to your app but im failing at creating repo part. This is what im receiving after sending request to:
https://api.github.com/user/repos
Im providing the valid Bearer tokenBearer ghu_GHtbeUcUGaiXzVTiduDVx2wOomzBH2fQucc
(this one is fake). And this is my response:I added all permissions in https://github.com/settings/apps -> github apps -> -> permissions
If i switch to fine grain token it works just fine but on my account. The thing is i want to create repos on behalf of other user validated with my app.
Do you have any idea how to fix it?