Error when sending EntityV2 GetItemCommand
with property of type binary()
#736
Labels
GetItemCommand
with property of type binary()
#736
v.16.19.1
1.0.0-alpha.20240129
^3.515.0
The binary property validator does not accept correct values returned by the
GetItemCommand
. It seems that AWS sends an object which is not always a buffer, such asUint8Array
, instead of returningBuffer.from(uint8Array)
. The binary property validator throws an error becauseBuffer.isBuffer(new Uint8Array()) == false
).Example:
An error is thrown when using
GetItemCommand
(I do not have the exact stack trace)The text was updated successfully, but these errors were encountered: