How to Set Up a Put Function with an Attribute Type of 'SS' in AWS Dynamodb?

This topic was automatically generated from Slack. You can find the original thread here.

HI Guys, Im hopping you can assist as im trying to set up a Put Function to AWS Dynamodb, all working great for normal attribute types “s” but cant work out for the life of me how to add an attribute type “SS” every way ive tired is just forming an error

Hi , may I ask for more detail on your error? Also could you share more detail on your action?

Maybe you can put an expression that construct the array value, for example

{{ {"fruits": { "SS": ["rock", "apples"] } } }}

Hi thanks for the quick reply

for simplicity i’ve popped you attribute example in and be error is the same as below -

For comparison a single “s” pops in without issue

Thank you for raising this , I can reproduce your issue on my side. I think this is definitely an improvement that Pipedream can work on. I’ll create a ticket for this

HI , I’ve created a ticket here: [BUG] AWS DynamoDB Put Item action failed with error "JSON input could not be parsed" when inputing array value · Issue #5556 · PipedreamHQ/pipedream · GitHub and put it into Pipedream prioritized backlog. Pipedream component dev will take a look at it soon!

Kindly subscribe to the ticket to be noticed when the fix is landed

wow that was fast, thanks so much doesn’t get me running today but hopefully soon :slightly_smiling_face:

This is all working now thanks to the team for jumping on this one !