Google Calendar - invalid config - cannot get to retrigger OAuth


I know this is a common problem where google calendar integration stops working. I’ve been through this a couple of times but I can’t remember if there was an additional step. I basically need to retrigger the OAuth screen but deleting the .google.token file doesn’t seem to be enough. When doing that and restarting HA I get a notification saying “invalid config”. In the past I remember that when this happened I was able to reconfigure the integration.

What can I be missing on top of deleting the token?

I’m having the same issue.
Do you know how you solved it?