menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
Team

SyntaxError: Unexpected end of input

April 18, 2020 at 9:12am

SyntaxError: Unexpected end of input

April 18, 2020 at 9:12am
Hi, this is my first time using Apollo client. I'm trying to use with the AniList API, but I have the following error:
SyntaxError: Unexpected end of input
Here is my code:
And you can see the error here:
Any idea of how can I fix it?
Thanks!

April 21, 2020 at 3:34am
Any idea?
  • reply
  • like

May 5, 2020 at 12:55pm
Hope you've figured out the problem, your URL isnt correct see API you were trying to query the graphiql interface
  • reply
  • like