Using the Amazon SQS receive request attempt ID - Amazon Simple Queue Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Using the Amazon SQS receive request attempt ID

The receive request attempt ID is a unique token used to deduplicate ReceiveMessage calls in Amazon SQS. During a network outage or connectivity issue between your application and Amazon SQS, it is best practice to:

  • Provide a receive request attempt ID when making a ReceiveMessage call.

  • Retry using the same receive request attempt ID if the operation fails.