-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 You need admin access to the organization before adding a repository to it. #477
Comments
oh @jedbrown this is a quick guess... my fix: in case this happens to work, i had added some discussion in the docs. |
Thanks for your quick reply. My key is |
got it. thought i'd try permissions first. @kcranston setup that token. i haven't tried to create a repo and push from a hub but we can try to recreate it locally to see if we run into the same issue. Just out of curiosity did you encounter the same issue running it locally on your computer? It also seems like it would be helpful for it to print out what organization and repo it's trying to access just in case the user has their config setup to connect to the incorrect place too. let me see - @eculler have you used abc-classroom to create template repos? did you run into permissions issues? |
@lwasser yes, I have, and no I didn't have any permissions issues |
As @jedbrown mentioned, the first idea is that it is due to the API token, and i can confirm it is. I got the same error and could fix it by generating myself a token with all |
i'm unfortunately not sure who is maintaining this package anymore. see here at the top: https://github.com/earthlab/abc-classroom/blob/main/README.md If you setup your own token then does abc-classroom function as expected? |
I see, i also submitted a PR on a separate issue. Yes it works as expected with a custom token. |
abc-init
says my token is valid. The account is an owner of the organization where I want to create the template repository, butabc-new-template reponame --github
fails. Do you know what's wrong or how to provide a more useful error message?The text was updated successfully, but these errors were encountered: