Weird startup error that I think has to do with a script

I keep getting this error at startup and then it repeats a few times. I have been working on some scripts, but nothing that I wanted called at startup and I’m unsure how to track down the reason for this error. Any help would be appreciated.

Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:348
Integration: Google Cast ([documentation](https://www.home-assistant.io/integrations/cast), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+cast%22))
First occurred: 4:45:05 PM (4 occurrences)
Last logged: 5:32:55 PM

Failed to cast media QjbH7AK5LUc. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

States often jump around at startup causing automations to trigger, so that’s why it appears to happen consistently ‘at startup’ would be my guess.

As for tracking it down, the error is taking about casting something, so I’d look for any automations with actions that involve media players first.