DevLeonardoCommunity / DevLeonardoCommunity/github-stats

GraphQL Query Fails with Status Code 200 on the Stats Page While Running Locally.

Abierto
#64 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
82
Forks
41
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Issue Description

### Description:
I'm encountering an issue when making a GraphQL query to the following endpoint:

**Request URL:** https://api.github.com/graphql
**Request Method:** POST
**Status Code:** 200 OK

However, the response I receive is:

```json
{
"data": {
"user": null
},
"errors": [
{
"type": "INTERNAL",
"message": "Something went wrong while executing your query. Please include `C50A:6791:B4B973:BCA94B:650F16BA` when reporting this issue."
}
]
}

```
## Steps to Reproduce

- Run the github-stats project locally.
- Navigate to the page `stats/(username)`.
- Open the browser's developer tools and check the network tab for requests.

## Expected Result

The expected result is that the query should fetch responses, similar to the hosted site: [https://public-github-stats.vercel.app/stats/(username)](https://public-github-stats.vercel.app/stats/(username)).

## Screenshots or Videos (Optional)

You can view the screenshots of the issue:

![Screenshot 1](https://github.com/Balastrong/github-stats/assets/35479077/35693684-ce63-4552-89ea-00765ab62a7b)
![Screenshot 2](https://github.com/Balastrong/github-stats/assets/35479077/b8de6082-3bc5-4c11-9d11-bde229923915)

## Additional Information

Please indicate if you've used the search function to check if a similar issue already exists. Additionally, let us know if you'd like to work on resolving this issue.
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.