DynamoDB Resource returning type error when using the 'limit' field

Afternoon all,

I think there is an issue with the DynamoDB resource.

Here is my query (redacted) when using the UI fields:

Here is my query (redacted) when using JSON:

Here is an error when setting the limit field in the UI fields:

  • The JSON version works completely fine.
  • The UI version returns the above error if there is anything inside the Limit field.

My guess is there is some sort of type conversion issue occurring for the limit input field.

Hi @Mentioum, I'm happy to help!
We may not have an issue with DynamoDB but with the query on the GUI. When writing JSON, all key-value pairs do need to be strings. However, on the GUI, we should use the correct datatype for the values. From the first screenshot you shared, the value for "Expression attribute values" should be {{ org_select.value }} (without quotation marks).

Let me know how it goes! :slightly_smiling_face:

1 Like