#GraphQL Exception Errors get 500 status code

3 messages · Page 1 of 1 (latest)

slate gorge
#

GraphQL errors should return 200 OK. But when you throw an exception it ended up using 500 instead

Note: Im using both REST + GraphQL in same app

compact prism
#

That's interesting. What kind of errors are you throwing?

I wonder if somehow it's getting caught in the http filter rather than the gql filter.

Can you provide a minimum reproduction?

slate gorge
#

normal exceptions. Yeah i ve AllException filter there with Catch all(since im using both gql and rest)