Description
Problem
The /api/streak endpoint is consistently returning a 500 Internal Server Error for valid GitHub usernames.
Example:
/api/streak?user=Gourikataneja
The frontend loads correctly, but the API request fails and displays the error page.
-
Visit:
http://localhost:3000/dashboard/Gourikataneja
-
Open browser console/network tab
-
Observe repeated 500 Internal Server Error responses from:
Possible Cause
This may be related to:
- environment variable handling
- GitHub API authentication
- missing fallback/error handling
- invalid request parsing
Additional Context
The issue occurs for multiple usernames, not just a single profile.
I would like to work on this issue under GSSoC'26.
Steps to Reproduce
Steps to Reproduce
- Clone and run the project locally
- Start development server using:
Expected Behavior
Expected Behavior
The API should return streak data for valid GitHub usernames instead of failing with status 500.
Screenshots / Logs
GitHub Username (If applicable)
gourikataneja
Environment
Chrome
Description
Problem
The
/api/streakendpoint is consistently returning a500 Internal Server Errorfor valid GitHub usernames.Example:
/api/streak?user=GourikatanejaThe frontend loads correctly, but the API request fails and displays the error page.
Visit:
Open browser console/network tab
Observe repeated
500 Internal Server Errorresponses from:Possible Cause
This may be related to:
Additional Context
The issue occurs for multiple usernames, not just a single profile.
I would like to work on this issue under GSSoC'26.
Steps to Reproduce
Steps to Reproduce
Expected Behavior
Expected Behavior
The API should return streak data for valid GitHub usernames instead of failing with status 500.
Screenshots / Logs
GitHub Username (If applicable)
gourikataneja
Environment
Chrome