aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

Aws Appsync

Open usmanbinnaeem opened this issue 4 years ago • 1 comments

Hi, Hope you are doing well, I a getting this error can any body help. AppSync graphql delete mutation always returns null and does not delete.

{ "data": { "deleteNote": null } }

type Mutation { deleteNote(noteID: String!): String }

lambdaDs.createResolver({ typeName: "Mutation", fieldName: "deleteNote", });

usmanbinnaeem avatar Mar 06 '21 06:03 usmanbinnaeem

It means that the implementation of your endpoint is most probably broken. If it's the lambda then simply check logs, if it's VTL resolver or something else, debug it accordingly

PatrykMilewski avatar Oct 17 '22 10:10 PatrykMilewski