-
Notifications
You must be signed in to change notification settings - Fork 580
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
Unmarshall dynamodb item is throwing Unsupported type passed: Nul #4948
Comments
Hi @anjali89r, sorry to hear about your issues. Basically the error is that the type "Nul" is not valid, did you mean to put NULL there?. You can find the valid types in the documentation here. I hope this helps! Thanks! |
thanks @yenfryherrerafeliz . The Nul value is returned by the Dynamodb query call when integrated with the step function. I'm just passing this to the Lambda and trying to unmarshall it using this lib. |
@anjali89r I have the same issue. Did you figure out how to fix this? |
Hi @anjali89r, sorry for the delay. Could you please provide more details about how you get that result so I can reproduce it on my end?, for example if you do a getItem call with the dynamodb client, could you please provide the sample code for this?. The same for you @loic-omaze, could you please provide more details of how to reproduce your issue? Thanks! |
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Checkboxes for prior research
Describe the bug
I'm using the unmarshall method from the "@aws-sdk/util-dynamodb" and it is throwing the below error for some of the items,
@aws-sdk/util-dynamodb version: 3.365.0
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
18.14
Reproduction Steps
I'm trying to unmarshal this item returned from the dynamodb db
Observed Behavior
Unsupported type passed: Nul
Expected Behavior
Successfully unmarshal and return javascript object
Possible Solution
No response
Additional Information/Context
I have seen a similar issue reported for marshal method and it was closed
The text was updated successfully, but these errors were encountered: