Invalid config for [automation]: [service] is an invalid option for [automation]

I have this error upon restarts but it doesn’t tell me which automation is the problem, how am I supposed to find out?

Logger: homeassistant.config
Source: config.py:443
First occurred: 12:48:49 PM (1 occurrences)
Last logged: 12:48:49 PM

Invalid config for [automation]: [service] is an invalid option for [automation]. Check: automation->action->0->service. (See /config/configuration.yaml, line 9).

``

Looks like you have missed a colon (:) after service in the first action of one of your automations.

I’ve checked all of them and it’s not the case

Well there’s something wrong with the first service call of one of your automations.

Why doesn’t it tell me which one?

If I “check config” I get no errors…

You wont see the offending automation in config → automations (or it will be disabled).
It happes the same to me, passes the check config, but fails after reloading automations.