Hello.
I had the same problem. In my case I have configured Google Calendars before in my configuration.yaml.
I decided to remove this entry and configure the integration in the UI. When installing integration I got error message “Recieved invalid token data”.
I resolved my problem by removing the stored credentials for google in .storage folder.
Be careful and make sure you have backups