#Uncaught TypeError when editing automation

1 messages · Page 1 of 1 (latest)

floral falcon
#

Hi all,

I am facing an issue when editing one of my automations. When opening the automation, the page ist just blank. I checked the developer console and I noticed the error you see in the screenshot. I can edit other automations without issue.

What could cause this issue and how could I fix it?

viral ravine
#

what's the yaml for the automation?

floral falcon
#

Is there any other way to access the YAML than the web ui?

#

Ah got it, one sec

#

I found the issue, but I am not sure what caused it

#

In line 50, the sequence had no value. adding an empty array seems to resovle the issue

viral ravine
#

yeah it doesn't like that, it starts thinking the next part of the file is what you want in the sequence and then gets confused by indentation, empty sequences need empty brackets

floral falcon
#

Yeah, not sure how it happend. I think I created it in the UI a while back and it worked all fine in the UI. With some update I guess it stopped working though

#

But might be possible that I did some manual adjustments in the yaml and fucked it up

viral ravine
#

it happens! glad you got it sorted