AOSSIE-Org / AOSSIE-Org/OrgExplorer

[BUG]: Contributor Intelligence returns HTTP 422 when fetching contributor details

Ouverte
#232 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
34
Forks
92
Merge moyen
8 j 7 h
PR mergées (30 j)
12

Description

### Bug Description

The Contributor Intelligence page fails to fetch contributor details and displays:

> Failed to fetch contributor details: HTTP 422

The GitHub API request works correctly when executed manually with the same query and authentication token, but the request made from the web application returns `422 Unprocessable Content`.

### Steps to Reproduce

1. Open the Contributor Intelligence page.
2. Search for the GitHub username `priyanshunitr`.
3. Select the organization `AOSSIE-Org`.
4. Use the default reporting window.
5. Open DevTools → Network.
6. Observe the GitHub API requests.

### Logs and Screenshots

Image

### Environment Details

### Environment

- OS: Windows 10/11
- Browser: Brave 153.0.0.0
- Device: Desktop
- GitHub API: REST API (`api.github.com`)
- Application: AOSSIE Org Explorer

### Impact

High - Major feature is broken

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start on the Contributor Intelligence page and reproduce the request for `priyanshunitr` in `AOSSIE-Org` using the default reporting window. Inspect the failing GitHub API request in DevTools → Network and compare its parameters and authentication with the manually successful request; done means contributor details load without HTTP 422.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, javascript
Domaine
analytics, api
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.