-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AppSync error reporting issue #5855
Comments
Hi @ambriglia
Depending on how your AppSync api was provisioned, you could have a request mapping template that is auto generating a uuid for you if one is not present in the input arguments. But, if May I ask what kind of error was received in your frontend console? I am not sure why you don't see the error in CloudWatch, for that my suggestion would be to contact the AppSync service team in the support forums |
@manueliglesias Here is the error... That first link you provided above seems like it might be what we are experiencing. The odd thing is that in the cloudwatch logs, appsync does not log out the actual response body data. I guess this is for privacy reasons? Regardless, because the response body is never logged, there is nothing else in the logs that helps me determine this was an error. If there is not an amplify concern here, I can try and ask this question for the appsync service team, which you linked above. Thanks. |
Yes––this would be a question for the AppSync service team. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
AWS AppSync does not report an error when request is incorrect.
To Reproduce
We are using the
@aws-amplify/api
npm package to make AppSync mutations. Accidentally, one of our mutation requests did not contain an ID.Expected behavior
I expected the AppSync logging, within the appropriate CloudWatch LogGroup, to report some kind of error. However, after inspecting the logs, I noticed that AppSync reports nothing is wrong. It even returns a 200 response. We were notified of this bug in the frontend console because it looks like the
@aws-amplify/api
somehow determines there was an error. We rely on CloudWatch alarms to notify us of an issue. I do not know of a good way to trigger an alarm in this case.The text was updated successfully, but these errors were encountered: