Support » Plugin: UpdraftPlus: WordPress Backup & Migration Plugin » “Account is not authorised. (Google Drive) (not_authorized)” error

  • Resolved qaws

    (@qaws)


    Hi,

    How do I add Google Drive as the storage location? If I select Google Drive, the text help gives a number of links which say:
    “For longer help, including screenshots, follow this link. The description below is sufficient for more expert users.”
    “Follow this link to your Google API Console, and there activate the Drive API and create a Client ID in the API Access section. Select ‘Web Application’ as the application type.”

    But the first link takes me to a too-simple video which doesn’t reflect the Settings screen that I see – my screen has fields for “Google Drive Client ID” and “Google Drive Client Secret”. There’s no help which shows how to set this up.

    If I do the authentication, the Updraft settings say:

    “Success: you have authenticated your Google Drive account. However, subsequent access attempts failed:
    Account is not authorised. (Google Drive) (not_authorized)”

    But I don’t know how to authorise it.

    I’ve tried starting again by clicking the “Wipe settings” link, but when I go back into the settings, they’re all there even when I refresh the screen, and I can see the last few backups still.

    How do I set up Google Drive?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter qaws

    (@qaws)

    I managed to solve this but not in the way that I want. I have to switch Google accounts every so often when Updraft has used up all of the 15GB that Google Drive gives you.

    What I would like to do is just use the Updraft Google Drive app which the help says is built in.

    I found I had the following in my wp-config.php file:

    
    define('UPDRAFTPLUS_CUSTOM_GOOGLEDRIVE_APP', true);
    

    When I removed this, the Google Drive client id/secret fields disappeared in the settings, but this didn’t get me any further: now I got an error 60 from curl saying the ssl certificate was invalid. After trying a number of the Expert settings I still couldn’t get it to work.

    So in a hilarious twist, I accessed the old version of your help file:
    https://web.archive.org/web/20180609214424/http://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/

    …and following these instructions I was able to get it to work.

    Question now is:
    if I’ve previously set Updraft to use a custom app, and now I want to use the supplied version that is part of Updraft, how do I do this? I’ve tried Wipe Settings, deactivating Updraft, uninstalling it, but every time I load it back up, it still has all my settings from before. I just want to follow the instructions in the video, but I still got errors after removing the line from my wp-config file.

    Thanks.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    UpdraftPlus Google Drive authentication has already changed. You no longer have to create a custom app. Please check this guide on how to connect to Google Drive – https://www.youtube.com/watch?v=8AyNWJ6EvuY

    Thanks,
    Bryle

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Account is not authorised. (Google Drive) (not_authorized)” error’ is closed to new replies.