Hi all. I’m currently creating macros for TV channels using Home Assistant scripts. I have created about a dozen of them that work fine, but suddenly the activity will not allow any additional macros to be added. I get an error that says “invalid request. Check input”. However, I can add this same macro to other activities and use the button there without issue.
I tried adding this macro to an unrelated activity to test it and it worked fine. I then copied the macro button, tried to paste it into the correct activity, but the error happened there as well.
I then rolled back to a previous backup, started re-adding macros again and was able to add a few more macros (including the one that failed)..but eventually again it is giving me the same error and I cannot continue adding macros to this activity. Any ideas how I can fix this?
Rebuilding the activity is a last resort…its already mostly complete, and not understanding the issue makes me concerned that it could randomly happen again.
How many entities have you added in total to your activity? There is a limit of 100 entities and if you exceed this limit it will show you this message. But the same message also appears to be showing up with other issues like [bug] Grid size activity page resets to default 4x6 size when changing page name · Issue #655 · unfoldedcircle/feature-and-bug-tracker · GitHub or [bug] Unable to edit UI when a command has been deleted · Issue #504 · unfoldedcircle/feature-and-bug-tracker · GitHub.
You should also inspect the core service logs (settings/decelopment/logs) if they maybe have a more detailed error description.
Thanks for your response! I have 168 entities. Is the limit of 100 entities exclusive to the activity? I don’t think this entity limit you mention is the issue tho…the first time I received the error, I restored a backup (lost only 2 added macros). After the backup restore, I was able to add 4 more macros (3rd was the macro that failed, 4th was new). When I came back later to continue the process is when it again failed…so I had added at least one additional macro after the error first occurred which suggests to me it wasn’t related to a maximum limit being reached (but I admit vast gaps in my knowledge).
I just tried looking through the logs but didn’t see anything related to the error (I also tried searching keywords from the error in case I missed it but didn’t find anything).
Note that I also submitted a support ticket…maybe they have some guidance as well, but we’ll see. If I hear back I’ll post here with their response.