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!

已提问 3 个月前80 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容