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
Not informative INTERNAL_SERVER_ERROR when mutation has invalid input as variable #2204
Comments
I am afraid this does not work in 2.6.7. |
Duplicate of #3498 |
I've released a prerelease with this fix, version |
(as a workaround you can also switch your setup to using payloadFormatVersion 1.0) |
This is released in Apollo Server 2.23.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If mutation request made with input variable and it has invalid data - error not informative.
Example:
Response:
variables:
Response:
As you can see there is zero information regarding error. Also it should be
GRAPHQL_VALIDATION_FAILED
instead ofINTERNAL_SERVER_ERROR
.Only if with
debug
on you can see the error:Probably related to #1410
Still opening this one since it have a bit more information.
This is a big issue since normal API couldn't be built without error info.
The text was updated successfully, but these errors were encountered: