Can't use stored data in Storage inside JSON

I put some value inside a Storage Key and then get it with Get Storage.

Then i try to Send HTTP Request putting the Get Storage result in JSON Body, but i get the following error:

{
“response”: {
“status”: 400,
“body”: {
“object”: “error”,
“status”: 400,
“code”: “invalid_json”,
“message”: “Error parsing JSON body.”
}
},
“request”: {
“body”: “"{\n "properties": {\n "Multi-select Produto": {\n "multi_select": [\n {\n "name": "TESTE KKKKKKKKKK",\n "color": "default"\n }\n ]\n }\n }\n}"”
}
}

But if i manually copy the result from Get Storage and paste it in JSON Body, it works fine:

I don’t know what i’m missing… Can you help me, please?

Hi @jrolivieri

Seems it always store it as text, I will check this out but for time being you can do inside the http screenshot you have and It should work.

{{ JSON.parse(step_14) }}

Another option to add extra step with JSON piece to parse the text.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.