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

Bad credentials #25

Closed
airwawekz opened this issue Jun 20, 2020 · 4 comments
Closed

Bad credentials #25

airwawekz opened this issue Jun 20, 2020 · 4 comments

Comments

@airwawekz
Copy link

I edited config.py with my github token and I got this:

[i] Sleeping 61 sec
[i] Status code : 401
[!] Unexpected HTTP response 401
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
[i] Github query : https://api.github.com/search/code?q=%22snapchat.com%22%20access_key&sort=indexed&o=desc

I missed something?

@AlishahMughal123
Copy link

AlishahMughal123 commented Jun 23, 2020

Umm check again did you enter the correct token.
For me it`s working

@rmarot
Copy link
Collaborator

rmarot commented Jul 4, 2020

How did you add it ? It should be like :
GITHUB_TOKENS = ["TOKEN1"] for one token or GITHUB_TOKENS = ["TOKEN1","TOKEN2","TOKEN3"] for several tokens.

@danzee1
Copy link

danzee1 commented Jul 20, 2020

Getting same Error...

Edited like this in tokens.py file


tokensList.append(Token('GITHUB_CLIENT_SECRET', 'XXXXXXXd13bb6cXXX104f320537XXXXXXXX'))


@rmarot
Copy link
Collaborator

rmarot commented Jul 20, 2020

That's not the way to configure it. Please refer to the documentation https://github.com/hisxo/gitgraber#configuration and above comment.

@rmarot rmarot closed this as completed Jul 20, 2020
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

4 participants