By using AWS re:Post, you agree to the Terms of Use
/Internal failure occurred while resolving this field/

Internal failure occurred while resolving this field

0

I'm getting this error from a graphql query that I'm polling from a website. The query succeeds an arbitrary number of times and then returns this error. The resolver is a simple SELECT from an RDS database. There are no other details in the error response. Is there some way I can get further insight into this?

1 Answers
0

I've run into a similar problem.

I have found no way to see the actual error in Log Insights either.

The error in the graph response looks something like this

"errors":[{"path":["myFunction"],"data":null,"errorType":"InternalFailure","errorInfo":null,"locations":[{"line":8,"column":5,"sourceName":null}],"message":"An internal failure occurred while resolving this field."}]

This does not trigger fieldInError = 1 in any log nor does it log the message or errorType.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions