Skip to content

TransactionCanceledException: Transaction cancelled, please refer cancellation reasons for specific reasons [ConditionalCheckFailed, None] #278

Answered by mobsense
KristianLake asked this question in Q&A
Discussion options

You must be logged in to vote

With the AWS V3 SDK, you should see those details in

err.context.CancellationReasons.

For the AWS V2 SDK, that info does not exist in the AWS V2 Javascript API. Only in V3.

See aws/aws-sdk-go#2318

Thank you for reaching out about this @guregu. While the CancellationReason structure is present in the API model for DynamoDB, the AWS SDK for Java is the only SDK (V2) that currently supports unmarshalling this structure. I've marked this issue as a Feature Request, and will bring it up in our next sprint.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mobsense
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #275 on February 13, 2022 23:27.