DenverCoder1 / github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
https://streak-stats.demolab.com
MIT License
4.87k stars 765 forks source link

Streak not showing after vercel hosting: "failed to retrieve contributions. This is likely a GitHub API Issue" #599

Closed yannickBona closed 1 year ago

yannickBona commented 1 year ago

Describe the bug I hosted my own instance on Vercel following the tutorial but the streak is not showing: "failed to retrieve contributions. This is likely a GitHub API Issue".

To Reproduce You can find the url on my readme profile

Screenshot 2023-09-27 alle 16 00 11

DenverCoder1 commented 1 year ago

Maybe check that there is an access token in the environment variables and it is active? It's possible that the error could occur because of an invalid token. It's not likely a rate limit issue unless you are using up all of your rate limit with different tokens in other projects.

  1. Open this link to create a new Personal Access Token on GitHub. You don't need to select any scopes for the token.
  2. Scroll to the bottom of the page and click on "Generate token"
  3. Visit the Vercel dashboard at https://vercel.com/dashboard and select your project. Then, click on "Settings" and choose "Environment Variables".
  4. Add or modify the environment variable with the key TOKEN and the value as the token you generated in step 2, then save your changes
  5. You may need to redeploy the app
yannickBona commented 1 year ago

@DenverCoder1 the issue was indeed the Access Token, which was expired and I blindly put it in the Token Section. Thanks for the precious help!

**I Had to redeploy the app for the changes to be applied