interviewstreet / ghs

Cross-platform CLI tool to generate your Github profile's stats and summary.
137 stars 88 forks source link

Error: Query failed with status code: 401 #24

Closed abhijhacodes closed 2 years ago

abhijhacodes commented 2 years ago

I'm using this in Ubuntu 20.04 I've installed ghs using pip install ghs command and it's showing this error. I also tried using the source code and still shows the same error. I used this last month and it worked fine, maybe it's because of the Github Personal Access Token expired or something else. Is there a way to forget the user so it asks for new Access Token (It didn't ask for it this time)

Screenshot from 2022-05-02 20-59-30

aaroosh-07 commented 2 years ago

@abhijhacodes You can update your GitHub PAT with the command ghs -t <replace this with token>

abhijhacodes commented 2 years ago

@aaroosh-07 Thanks it worked.