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 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions