DevLeonardoCommunity / DevLeonardoCommunity/github-stats

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

Offen
#64 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
82
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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.
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.