I just tried configuring the Google Sheets integration.
Everything goes fine until, when I confirm the “Link account to Home Assistant?” message, I receive the error message:
Error while creating spreadsheet, see error log for details
This is what I found in the error log:
Logger: homeassistant.components.google_sheets.config_flow
Source: components/google_sheets/config_flow.py:88
Integration: Google Sheets (documentation, issues)
First occurred: 11:05:17 AM (1 occurrences)
Last logged: 11:05:17 AM
Error creating spreadsheet: {'code': 403, 'message': 'Google Sheets API has not been used in project 1XXXXXXXXXXX9 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/sheets.googleapis.com/overview?project=1XXXXXXXXXXX9 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.', 'status': 'PERMISSION_DENIED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developers console API activation', 'url': 'https://console.developers.google.com/apis/api/sheets.googleapis.com/overview?project=1XXXXXXXXXXX9'}]}, {'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'SERVICE_DISABLED', 'domain': 'googleapis.com', 'metadata': {'service': 'sheets.googleapis.com', 'consumer': 'projects/1XXXXXXXXXXX9'}}]}
If I access the URL above, I see that the Google Sheets API is enabled, so I supposed that, as they say, «If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.»
Unfortunately, I waited 5, 15, 30, 45, 60, 120 minutes and retried: same error.
I even tried removing the Application Credentials, as suggested in the Troubleshooting section of this integration’s docs page, to no avail.
Is it a problem with this new integration, or is there anything else I could try?