I seemed to have entered the Private Key into the Google Service Account node and it still says Private key validation failed: 400 - {“error”:“invalid_grant”,“error_description”:“Invalid grant: account not found”}. I even entered https://www.googleapis.com/auth/calendar in my DWD and it still says invalid.
AI says the steps I should follow are:
- Confirm that domain-wide delegation is enabled for your service account in the Google Cloud Console.
- Double-check the impersonated user email—ensure it’s correct and exists in your Google Workspace domain.
- Make sure the required APIs (like Google Calendar) are enabled and their scopes are included in the domain-wide delegation configuration.
- Verify that the private key in n8n matches the one generated for your service account. If uncertain, try generating a new key and updating the n8n credential.
Also, I was just told to leave out the impersonate a user. What could be the problem?