Unable to edit scripts using UI after update

Since the update to 2021.6.0, I am unable to edit scripts using the UI. I get a message saying:

The page at http://192 168.1.93 says

This is on both the Android app and on Firefox/Opera on Windows. Oddly, I am able to edit automations

It looks as if I’m getting banned:

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:116
Integration: HTTP (documentation, issues)
First occurred: 13:43:19 (1 occurrences)
Last logged: 13:43:19

Login attempt or request with invalid authentication from 192.168.1.201 (192.168.1.201). (Mozilla/5.0 (Android 11; Mobile; rv:88.0) Gecko/88.0 Firefox/88.0)

But only when I try to edit a script in the UI - odd surely?

image

Blank error messages are… Really. Not. Helpful.

I’m struggling here - any ideas?

Turns out I was trying to use !secret in a script, which is “not supported”.

Which makes the whole !secret thing a bit pointless, surely? scripts.yaml is a plain text file just like configuration.yaml. Come to think of it, so is secrets.yaml :roll_eyes: