You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] /user/:username returns HTTP 200 with blank profile for non-existent usernames instead of 404 #275
Navigating to /user/<any-made-up-name> returns HTTP 200 and renders the full user profile shell. The page title shows "Performance Profile: @", all stats are blank, and charts are empty. There is no error state shown to the visitor and the browser reports a successful page load.
Steps to Reproduce
Start the server locally.
Navigate to /user/this-user-does-not-exist.
Observe: HTTP 200, full page renders with heading "Performance Profile: @this-user-does-not-exist", blank charts, blank stats, no error message.
Expected Behavior
A non-existent username should produce a visible error, either a 404 response from the server, or at minimum a clear in-page error message that the user could not be found, consistent with how /leaderboard handles data load failures via its #leaderboard-error element.
Actual Behavior
HTTP 200 is returned for any username string. fetchUserData() in historical-graphs.js catches the API error but only console.logs it, no in-page feedback:
Add a corresponding #profile-error element to user.html
Optionally, the server route can validate the username against the data repo before serving the page and return a 404 for unknown users.
Please review our CONTRIBUTING.md guidelines before getting started.
A maintainer will review this issue shortly. If you would like to work on the issue yourself, please leave a comment requesting assignment.
Issue Assignment Policy
The issue creator is given the first priority to work on their issue.
If the creator declines or does not request assignment, the issue will be assigned to others in the order of requests received.
Please do not submit PRs or begin work until you are officially assigned.
Note: This project is currently maintained by a solo maintainer, so reviews, assignments, and responses may sometimes take a little time. Thanks for your patience.
Activity
github-actions commentedon Jul 1, 2026
Thank you for opening an issue.
Please review our
CONTRIBUTING.mdguidelines before getting started.A maintainer will review this issue shortly. If you would like to work on the issue yourself, please leave a comment requesting assignment.
Issue Assignment Policy
Tamcodes4 commentedon Jul 1, 2026
I would like to work on this issue. Kindly assign it to me under GSSOC'26!
github-actions commentedon Jul 17, 2026
This issue has been inactive for 14 days and has been marked as stale. To keep this issue open, please leave a comment.
Tamcodes4 commentedon Jul 17, 2026
Hi! I'm still working on this issue. I had some delays, but I plan to continue and submit a PR soon. Please keep this issue assigned to me. Thanks!
Yashaswini-K-P commentedon Jul 31, 2026
i would like to work on this if available
github-actions commentedon Aug 15, 2026
This issue has been inactive for 14 days and has been marked as stale. To keep this issue open, please leave a comment.
Yashaswini-K-P commentedon Aug 15, 2026
working
github-actions commentedon Nov 4, 2026
This issue has been inactive for 14 days and has been marked as stale. To keep this issue open, please leave a comment.