Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListTransfers API fails when given a cursor #10837

Closed
guoguojin opened this issue Mar 6, 2024 · 0 comments · Fixed by #10838
Closed

ListTransfers API fails when given a cursor #10837

guoguojin opened this issue Mar 6, 2024 · 0 comments · Fixed by #10838
Assignees

Comments

@guoguojin
Copy link
Contributor

guoguojin commented Mar 6, 2024

when given a request that contains pagination such as this:

query rewards {
  transfersConnection(isReward: true, pagination: { first: 2, after: "eyJ2ZWdhVGltZSI6IjIwMjQtMDMtMDVUMTg6MTM6MzEuMDgyODgzWiIsImlkIjoiYmE1YTgzMDYxZjkwZjI3OGQwN2M3NzZjN2EzYmZhYmFkMzhlMmUzNmU2MDBiY2IwMmE2ZDUzY2ExN2NjZDg2ZiJ9"}) {
    pageInfo {
      hasNextPage
      startCursor
      endCursor
    }
    edges {
      node {
        transfer {
          id
        }
      }
    }
  }
} 

The API does not always construct valid queries and returns an internal error.

Slack conversation discussing the problem is here

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

Successfully merging a pull request may close this issue.

2 participants