Handling rejected records - Amazon Timestream
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).

For similar capabilities to Amazon Timestream for LiveAnalytics, consider Amazon Timestream for InfluxDB. It offers simplified data ingestion and single-digit millisecond query response times for real-time analytics. Learn more here.

Handling rejected records

If Timestream rejects records, you will receive a RejectedRecordsException with details about the rejection. Please refer to Handling write failure for more information on how to extract this information from the WriteRecords response.

All rejections will be included in this response with the exception of updates to the magnetic store where the new record's version is less than or equal to the existing record's version. In this case, Timestream will not update the existing record that has the higher version. Timestream will reject the new record with lower or equal version and write these errors asynchronously to your S3 bucket. In order to receive these asynchronous error reports, you should set the MagneticStoreRejectedDataLocation property in MagneticStoreWriteProperties on your table.