Something went wrong while executing the query. It seems to only appear when the access_token and the query login are the same user. #143211
Unanswered
asionesjia
asked this question in
API and Webhooks
Replies: 1 comment 3 replies
-
It sounds like you're encountering an issue that might be due to rate limiting or permission restrictions in the GitHub GraphQL API when using your access token. Since the query works in the GitHub GraphQL Explorer, it’s likely not an issue with the query syntax itself. If I were you, I'd make sure your access token has the correct scopes, especially repository and user scopes if you're asking about user contribution details. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error Message:
Description:
When I query, when the login and my access_token belong to the same user, the contributionsCollection query will throw an error, but it will not appear when querying other users. And it should not be caused by timeout and paging problems. It seems that it only throws an error when querying a certain key time point. The data from 2021 to 2022 can be queried normally, and the data from 2022-2023 and later throws the same error. In addition, the same query is normal in Explorer, but there is a problem in the fetch I built.
Query:
Variables:
Fetch:
I tried again multiple times and the same problem occurred. No matter how I changed from and to, the problem always occurred in the second half of 2022. However, the same query was successful in explore.
Beta Was this translation helpful? Give feedback.
All reactions