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

"Cannot read property 'data' of undefined" #1405

Closed
Andre601 opened this issue Oct 21, 2021 · 7 comments
Closed

"Cannot read property 'data' of undefined" #1405

Andre601 opened this issue Oct 21, 2021 · 7 comments

Comments

@Andre601
Copy link

Describe the bug
The image for the standard GitHub Stats started to return an error for me while it worked before.

Expected behavior
The image should show as normal.

Screenshots / Live demo link (paste the github-readme-stats link as markdown image)
image

https://github-readme-stats.vercel.app/api?username=Andre601&show_icons=true&hide_rank=true&title_color=3498db&bg_color=ffffff00&text_color=718096&disable_animations=true

Additional context
The "Top languages" card, which I also use, works perfectly fine.

@CyberAstronaut101
Copy link

I was coming here to report this same problem, but I ended up resolving the problem by visiting the root api request for my account without any of the styling parameters (https://github-readme-stats.vercel.app/api?username=ejmason101) which still returned the undefined error, then visited my GitHub profile page and it rendered the stats fine after that, and at the time of writing this continues to do so.

@Andre601 I did the same process with your link, visited (https://github-readme-stats.vercel.app/api?username=Andre601) and then visited your github profile and it rendered the stats without error.

Not exactly sure what is causing this, or if you have run into this problem before @anuraghazra.

@aravindvnair99
Copy link

aravindvnair99 commented Oct 22, 2021

Hey! I'm facing the same issue too! @ejmason101 I tried what you mentioned, unfortunately, it didn't work for me.

@aravindvnair99
Copy link

Hey! I'm facing the same issue too! @ejmason101 I tried what you mentioned, unfortunately, it didn't work for me.

Update: Waiting for 3 minutes helped kind of...

This loads: https://github-readme-stats.vercel.app/api?username=AravindVNair99

This does not load: https://github-readme-stats.vercel.app/api?username=AravindVNair99&show_icons=true&include_all_commits=true&count_private=true&hide_border=true&theme=dark

@perry-mitchell
Copy link

@aravindvnair99 Neither of your links load for me - save data error on both.

@aravindvnair99
Copy link

@aravindvnair99 Neither of your links load for me - save data error on both.

@perry-mitchell Ah yes, I get Cannot read property 'data' of undefined now. 4 hours ago the first link had loaded after a few reloads

@survivant
Copy link

the link is broken for me too : https://github-readme-stats.vercel.app/api?username=survivant&show_icons=true&count_private=true

Something went wrong! file an issue at https://git.io/JJmN9
Cannot read property 'data' of undefined

@anuraghazra
Copy link
Owner

Closing.. see #1406 (comment)

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

6 participants