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

Sortby Statement in Tournament By Videogame Example Creates "Unknown Error" #202

Open
SarahEGood opened this issue Mar 30, 2024 · 1 comment

Comments

@SarahEGood
Copy link

SarahEGood commented Mar 30, 2024

Edit: This seems to actually be an issue with the sortby statement, since removing this solved the issue, so I'll be changing the title to reflect this.

I've been attempting to use the GraphQL tester to see if I could search tournaments by video game, but every time I run the example code (or slight variations where the videogameID is a string), I keep getting an "unknown error has occurred" message. Other queries seem to be working fine in the api tester. I'm really not sure what I've done since the code is copy-pasted from this example.

My authorization token is included in the format specified in the Developer Portal instructions (under "Headers") per instructions.

image

@SarahEGood SarahEGood changed the title Tournament By Videogame Example Creates "Unknown Error" Sortby Statement in Tournament By Videogame Example Creates "Unknown Error" Mar 30, 2024
@CarlosSpicyWiener17
Copy link

replace "tournament.startAt asc" with "startAt asc" and it will work. Ive already suggested the changes to them

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

No branches or pull requests

2 participants