Skip to content

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

Description

@luckyklyist

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:

{
    "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).

Screenshots or Videos (Optional)

You can view the screenshots of the issue:

Screenshot 1
Screenshot 2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions