Open usmanbinnaeem opened 3 years ago
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", });
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
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", });