Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WriteTransaction cancellation reasons not properly handled #372

Open
Daci1 opened this issue Nov 7, 2023 · 0 comments
Open

WriteTransaction cancellation reasons not properly handled #372

Daci1 opened this issue Nov 7, 2023 · 0 comments

Comments

@Daci1
Copy link

Daci1 commented Nov 7, 2023

When trying to write an item with a NaN value, the code throws the following error:
image
As far as I can tell, this is the problem that causes it:

  • when parsing the error message object, the code expects it to have a property CancellationReasons
  • the message from AWS does not include such field (as can be seen in the screenshot below)
  • the consequence: it tries to map on an undefined object and throws an error (as can be seen in the screenshot above)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant