sqs messages keep landing in the dead letter queue
Messages from one queue are all going to the DLQ after three receives, and the Lambda logs just say Task timed out after 30.00 seconds. SQS visibility timeout is 30s, Lambda timeout is 30s, redrive policy maxReceiveCount 3. The handler makes an HTTP call to an external API that usually takes a few seconds. Why is every message failing? This started after we moved the handler to a new queue.
4 replies