Escape Json Field Block Bug

When communicating with api’s this not working breaks a lot of things, it should follow: Free Online JSON Escape / Unescape Tool - FreeFormatter.com

IMG_0851

This was passed though the block:

that looks right to me? It replaced the line break with the correct special character

EDIT: I think i see what you mean now, it isnt escaping the double and single quotes as it should

1 Like

The new line works nothing else

It does replace double quotes (single quotes aren’t special characters in JSON strings). I’m not sure why that isn’t showing up here, might be something to do with how Discord is handling things (and/or how data is being serialized before being sent to Discord).

If you can repro the issue where data is being fed into the escape json block and it produces invalid json, while capturing the output json with realtime logs, errors, traces, or some other inventor-native tool, please send that here.

hello @piratecaribou, any updates?