Cast integration causing HA not to boot

When I add cast devices to HA through discovery and select them under configuration it adds the devices just fine. Then when I restart HA it does not start properly.

I receive the following error:
You’re about to give https://myurl access to your Home Assistant instance.

Logging in with Home Assistant Local.

Error: Something went wrong

It happens every time I wipe out the folder and start over. When I even add the cast devices and verify the config, it checks out ok. When I tried to use the “cast:” component I get an error.