Skip to content

Google Drive Stopped Authenticating #44

@ambidustrious

Description

@ambidustrious

Description

I can no longer authenticate with Google Drive

I had been backing up successfully for weeks, and then it stopped working, when I went to check the credentials, I got the following error when I click on the Google Drive option:

{
"error": {
"code": 401,
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Invalid Credentials",
"domain": "global",
"reason": "authError",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}

There was no way to remove the credentials, so I had to uninstall the plugin and start over.

When I added the original credentials back, the error re-appeared.

I Uninstalled again, reinstalled, created NEW credentials, and I got the same error. The credentials are enabled and working on my Google Project, and the Google Drive API is enabled.

The redirect URI is correct as well as the javascript origin

Additional info

  • Craft version:Craft CMS 4.4.11
  • PHP version:8.0.2
  • Database driver & version:MySQL 8.0.29
  • Plugin version:2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions