RedHeadphone / codeforces-readme-stats

⚡ Dynamically generated Codeforces stats for your Github profile!
https://codeforces-readme-stats.vercel.app
MIT License
54 stars 7 forks source link

Badge fails to load, API response says "user not found" even on valid users #8

Closed Nis-Han closed 7 months ago

Nis-Han commented 7 months ago

Most probably, there is some change in the CF API that might be causing this issue.

Nis-Han commented 7 months ago

Somehow its back to working, without any new commit/update. Maybe it was a CF side issue

RedHeadphone commented 6 months ago

The same API response was observed today. This is related to #6, when contest or system testing is going on codeforces, their API acts differently resulting in common error response (line). A temporary fix for this could be storing the last valid (200 status or smth like that) responses from the codeforces server, and using that data when codeforces API is not working as expected. Also, there is a need for a logging setup.