Where can I check for client side errors and/or server errors for SQS ?

0

Hello AWS team,

I have an application that's sending data to the SQS that triggers a lambda function. I noticed alarms indicating I have messages going to my sqs deadletter que.

I am trying to determine what's causing the application to fail based on the deadletter que. I'm wodnering if there's a location I can look where I can see the detailed messages and the body to determine why the messages are going to the deadleatter que. I'm not sure if it's client error or server error.

I also have alarm for Lambda alert, so I believe it has something to do with server side but I am not show how to troubleshoot or the steps to determine the cause in AWS>

1回答
0

Messages end up on the DLQ after processing of them fails. So something is causing your Lambda function to read a message and then not delete it to signal processing is done. It would be best to review your Lambda code to make sure logging and error handling is capturing all situations.

Also you can read messages off the DLQ to inspect their bodies.

エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ