Config errors after setting up automation

Hi,

Every time after i setup a automation (gui or yaml) it starts giving me these strange errors.
i think this is the reason why the automations not work.

2021-03-28 19:16:06 ERROR (SyncWorker_3) [glocaltokens.client] [!] Could not get master token.
2021-03-28 19:16:06 ERROR (SyncWorker_3) [glocaltokens.client] [!] Could not get access token.
2021-03-28 19:16:07 WARNING (SyncWorker_3) [glocaltokens.client] The access token has expired. Getting a new one.
2021-03-28 19:16:08 ERROR (SyncWorker_3) [glocaltokens.client] [!] Could not get master token.
2021-03-28 19:16:08 ERROR (SyncWorker_3) [glocaltokens.client] [!] Could not get access token.
2021-03-28 19:16:08 WARNING (SyncWorker_3) [glocaltokens.client] The access token has expired. Getting a new one.

This stays poping up, if i remove the input in automations.yaml and reboot the errors are going

When i call a service through developer options its working

problem seems to be solved after reboot