GraphQL error in Apollo Java/Kotlin: "Something went wrong while executing your query. Please include `ECB8:A62F:2E3588F:2F4014A:61069044` when reporting this issue."

I use this query to get the top Java repositories on GitHub. The query works fine in the API explorer and the GraphQL Plugin for IntelliJ, with a batchCount less than 100. Executing the same query in Kotlin generates the error, even with a batchCount of 1. The query worked before (May 2021) and all other queries still work in Kotlin.

Variables:

{"cursor": null, "batchCount": 50, "language": "language:java", "labels": []}

Query:

query GetRepositories($cursor: String, $batchCount: Int!, $language: String!, $labels: [String!]) {
    search(query: $language, type: REPOSITORY, first: $batchCount, after: $cursor) {
        pageInfo {
            endCursor
            hasNextPage
        }

        nodes {
            ... on Repository {
                name
                owner {
                    login
                }
                url
                defaultBranchRef {
                    name
                }
                diskUsage
                pullRequests(labels: $labels) {
                    totalCount
                }
                issues(labels: $labels) {
                    totalCount
                }
                labels(first: 100) {
                    totalCount
                    nodes {
                        name
                    }
                }
            }

        }
    }
    rateLimit {
        limit
        cost
        remaining
        resetAt
    }
}
1 Like