You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With TransactWriteItems, where for some reason you can actually use returnValuesOnConditionCheckFailure for an UpdateItem operation, it seems to work as expected and the value is reachable in the ctx:
Docs state that one should be able to see that data by default on
ctx.error.data
, but this doesn't seem to be the case.There is also no
returnValuesOnConditionCheckFailure
attribute for theUpdateItem
operation allowed.Actual response (where docs state we should also be able to see the old/current record values):
With
TransactWriteItems
, where for some reason you can actually usereturnValuesOnConditionCheckFailure
for anUpdateItem
operation, it seems to work as expected and the value is reachable in the ctx:But using
TransactWriteItems
isn't really an option, as it doesn't return all values of the updated record...The text was updated successfully, but these errors were encountered: