Skip to content
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

404 errors #27

Open
tas50 opened this issue Aug 2, 2016 · 5 comments
Open

404 errors #27

tas50 opened this issue Aug 2, 2016 · 5 comments

Comments

@tas50
Copy link

tas50 commented Aug 2, 2016

I suspect this is somehow related to my 2 factor auth, but every time I run the utility I just end up with a 404 error

org-labels add tas50 'feature request' d4c5f9
GitHub rate limit remaining: 4502
found 233 repositories in tas50

Error: 404 - https://api.github.com/repos/tas50/windows/labels

@tas50
Copy link
Author

tas50 commented Aug 2, 2016

It looks like the 404s are actually related to auth. I opened the ghauth config file and manually added a token I generated, which resolved the issue. It might be worth documenting where the config file is located so that users can update this.

@mikebronner
Copy link

mikebronner commented Sep 3, 2016

Found the config file here, in case anyone else is looking as well: ~/.config/org-labels.json. Simply delete it to reset your auth settings.
If you are updating private repos, but sure to edit the access token in GitHub and give it repo access.

@raucao
Copy link

raucao commented Feb 8, 2017

I just ran into this, then found the token created by the CLI in my user settings. Checking the "repo" scope and saving it works, even if none of the descriptions and docs say anything about label management for any OAuth scope.

@DevinWalker
Copy link

I'm confirming here that you have to give access to the private repos to get around this like @mikebronner describes. It would be great if this code was maintained. It's pretty cool stuff.

@Ralkage
Copy link

Ralkage commented Apr 25, 2018

I like this tool, I think I'll fork it and give it some love ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants