-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
What server has to return to make fresh work? #51
Comments
After some testing I see that problem is 400 status code. |
Hi @vytautas-pranskunas- 👋 Are you able to provide a link to a minimal reproduction sample? I’m happy to take a closer look at the specific issue you’re encountering 👍 |
I can give you code snippets:
rest you can take from https://www.apollographql.com/docs/apollo-server/getting-started/ |
Closing this for now since this is quite old but if this is still an issue please let me know and I'm happy to take a closer look. |
Hi, I have a situation when i was sure that this peace is working. However today i have realized that it is not. I checked your example and implement things similarly. However I am not sure what server has to return to make it work. Now from server I am returning pure gql error (when calling via postman)
And i am sure that previously this error was caught by fresh plugin however now it is not. And i see this error in console
I am not sure why server error is not wrapped into linkException rather than graphqlErrors.
Maybe I am returning it incorrect from server? maybe it is because when I am throwing AuthenticationError from Apollo server it gives 400 (bad request) instead of 200 along with error mentioned above?
The text was updated successfully, but these errors were encountered: