GraphQL API errors out when fetching members after the first few pages #101402
-
Select Topic AreaBug BodyThis one is easy to reproduce if you have access to an account with 100+ sponsors (I'm hoping GitHub employees can masquerade as any account). Here's my GraphQL query: query($first: Int, $after: String) {
viewer {
sponsors(first: $first, after: $after) {
pageInfo {
endCursor
}
nodes {
... on User {
login
name
sponsorshipForViewerAsSponsorable {
privacyLevel
tier {
monthlyPriceInDollars
isOneTime
}
}
}
... on Organization {
login
name
sponsorshipForViewerAsSponsorable {
privacyLevel
tier {
monthlyPriceInDollars
isOneTime
}
}
}
}
}
}
} Running it on the GraphQL explorer with variables set to: {
"first": 100
} ...works at first, but eventually, it errors out, for example with these variables (for my account): {
"first": 100,
"after": "Y3Vyc29yOnYyOpIAzgGMAfI="
} (It says to mention Note that it works with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, thanks for the report! I'm an engineer at GitHub working on Sponsors. I was able to find the underlying exception, thanks to you sharing the request ID. We'll look into this. |
Beta Was this translation helpful? Give feedback.
-
All right, we believe this is fixed. Would you give your query another try, see if the error reoccurs? Thanks! |
Beta Was this translation helpful? Give feedback.
All right, we believe this is fixed. Would you give your query another try, see if the error reoccurs? Thanks!