Hi!
I just started the quickstart guide and wanted to start querying right away, but instantly hit a wall with GraphQL. BTW I love graphql and use it for my own projects and was excited to see that graphql querying and mutations are allowed.
When running
monday.api(`query { users { id, name } }`).then((res) => {console.log(res)})
I get: Error: Graphql validation errors
It said I didn’t need a token but I tried a token anyway
I’ve tried monday.setToken('apiKey')
and I get errors: ["Not Authenticated"]
I also tried monday.api(query, {token: "apiKey"}).then((res) => console.log(res))
and I get the same error: errors: ["Not Authenticated"]
I tested my token in monday.com and it works great. I can query just fine.
Note: I haven’t added any code to the quickstart guide at all except for converting class to react-hooks and then adding the query in a useEffect.
Hope someone can help with me with this issue.
Thank you in advance.

