JSON saved in attributes has escapes added to quotation marks causing it to not be valid

0

Hello,

I am trying to remove the need for a Lambda to run on every call that is pulling a list from DynamoDB and converting it into a JSON structure to populate a dropdown in a view. I have created a Lambda that automatically updates and publishes a module with the new JSON string in a "set attribute" block.

When I view the attribute block, it shows it as it should be, with the quotes unescaped. Screenshot of attribute block

But when I look in cloudwatch logs, it has the quotes escaped. Screenshot of log

This is causing the view to not display, and it just hangs on "loading view" until it times out. Is there a way to either make it so connect doesn't escape the quotes when it goes to save the attribute, or a better way to update a saved string on a schedule.

Thank you in advance for your help!

asked 2 months ago76 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions