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
Notice the lack of someIds field
In that situation, I am also able to properly add new items.
Thus I suspect that having someIds as null is causing the issue.
Additional info:
It may be relevant. I have this option set
removeNullAttributes: false,
The text was updated successfully, but these errors were encountered:
Sets
DynamoDB supports types that represent sets of number, string, or binary values. All the elements within a set must be of the same type. For example, a Number Set can only contain numbers and a String Set can only contain strings.
There is no limit on the number of values in a set, as long as the item containing the values fits within the DynamoDB item size limit (400 KB).
Each value within a set must be unique. The order of the values within a set is not preserved. Therefore, your applications must not rely on any particular order of elements within the set. DynamoDB does not support empty sets, however, empty string and binary values are allowed within a set.
I have an entity with the following attributes configured
I initially populated the data with the following input:
The dynamo DB entry was created as follows
Please note the
someIds
field. It will be important laterI then tried to add an item to
someIds
using:and got the following error:
This only happens if I create the initial value of
someIds
empty (i.e.[]
)If instead, I create the initial data as:
Then the dynamo entry will be:
And I can properly add new items.
If I remove all the items, the dynamo entry will become
Notice the lack of
someIds
fieldIn that situation, I am also able to properly add new items.
Thus I suspect that having
someIds
as null is causing the issue.Additional info:
It may be relevant. I have this option set
The text was updated successfully, but these errors were encountered: