:fire: Sorry for posting this issue here as it’s a...
# ask-community
y
🔥 Sorry for posting this issue here as it’s already posted in Github. It’s just super critical for us, and we are stuck running flows in our production env. When editing an ECS Task Block in the Prefect Cloud UI, when you clear a json field, at won’t come back to a None value but instead set to an empty string “”. There is no way to remove this empty string other than creating a new ECS block. But this new Block can’t have the same name. It would be great if someone from Prefect’s team can have a quick look. Thank you for any help on the issue! 🙏 https://github.com/PrefectHQ/prefect/issues/9378
For example:
j
Hi @Yaron Levi - thanks for flagging. We'll look into the ticket but as a workaround for your team, you can set the json to null in order to clear it. https://www.loom.com/share/ae9ea63bf49241248df5575d8b5ed851
y
Thanks! I’ll try it.
👍 1
j
Can you let me know if that works ok for you @Yaron Levi so I know how best to prioritize the issue. Thanks!
👀 1
y
For some reason it not as you’ve shown in the video.
j
It needs to be
null
the value not null the string. So
null
rather than "null". https://www.loom.com/share/ee53bffb01e445e5bf3110c37ae83b03
y
yes… I wrote it like so:
🤔 1
Then pressed “save”
j
Ahh ok. Looks like we're expecting a different property (array) for the command input so it's handled slightly differently to the labels I demo'd with. That will still set it to null but I agree it's confusing. I'll ask the team to look into it.
y
Ok Great (-: