TransactionCanceledException: Transaction cancelled, please refer cancellation reasons for specific reasons [ConditionalCheckFailed, None] #278
-
Hi, when executing the following code in a lambda function
Assuming the transaction fails and has multiple transactions inside, it does error correctly
You cant seem to get the more specific error message (cancellation reasons) though. How do you get the specific error message The pseudo code for this is
Without being able to check which bit of the transaction failed you only know something in the transaction failed but not what. thanks alot! :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
With the AWS V3 SDK, you should see those details in
For the AWS V2 SDK, that info does not exist in the AWS V2 Javascript API. Only in V3.
|
Beta Was this translation helpful? Give feedback.
-
Transferring to discussions. |
Beta Was this translation helpful? Give feedback.
With the AWS V3 SDK, you should see those details in
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