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!

posta 3 mesi fa80 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande