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 Answer
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.

EXPERT
answered a year 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