Handling rejected records - Amazon Timestream

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.