I'm currently working through the Apollo tutorial located at https://www.apollographql.com/docs/tutorial/client/. My server is successfully running on localhost:4000
, while my client is running on localhost:3000
. Even though the client compiled without any issues, I'm encountering a 400 error in the browser that seems to be pointing to an Apollo error:
Uncaught (in promise) Error: Network error: Response not successful: Received status code 400 at new ApolloError (bundle.esm.js:76)
.
The tutorial makes use of TypeScript for the client, which was not previously installed on my system. I have since globally installed it, but apart from this change recommended by the tutorial, I have not altered anything else in the client. Unsure if this could be contributing to the issue.
For further information, the tutorial's repository can be found at https://github.com/apollographql/fullstack-tutorial.