• Resolved AlanP57

    (@alanp57)


    I’ve created a project on the API console and setup OAuth authroization and credentials, received a client ID and client secret and entered a Authorized redirect URIs. This is a backup for just a single site. However the plugin receives this error when trying to access Google Drive:
    Google Drive error (invalid_grant) when requesting access token: response does not contain access_token. Response: { “error” : “invalid_grant”, “error_description” : “Token has been expired or revoked.”}

    Any ideas on how to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi

    The error indicates that UpdraftPlus did not authorise correctly with Google Drive.

    Also, are you attempting to connect multiple sites to the same Google Project? We have found in the past that each UpdraftPlus installation requires its own Google Project, as sharing them can cause authentication issues.

    I suggest you create new Google Client ID and secret ID.

    Best Wishes,
    Bryle

    Thread Starter AlanP57

    (@alanp57)

    Ok, I will try that and do note I did say in my post that the project I created is for a single site.

    Thread Starter AlanP57

    (@alanp57)

    Yes, creating a new Google Client ID and secret ID fixed the problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Drive error (invalid_grant) when requesting access token’ is closed to new replies.