Using the Amazon SQS receive request attempt ID - Amazon Simple Queue Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.