• Resolved avee8rmike

    (@avee8rmike)


    Getting this error –

    Have not yet obtained an access token from Google – you need to authorise or re-authorise your connection to Google Drive. (Invalid request (refresh token not present).) (no_refresh_token)

    I authenticated with Google OK but reading the docs you have to login to the Google developer console and get API creds which is fine. I know how to do that – what I cannot find is where to enter the Google API creds in the plugin. I am sure I am missing something really obvious ? also is this error to do with not having entered the API creds ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor aporter

    (@aporter)

    Hi,

    Sorry for the delay.

    It sounds like your on the latest UpdraftPlus and you’re using the new UpdraftPlus Google Drive app.

    This is why you don’t see the fields to enter Google API credentials any more.

    Could you try to authorise your connection again?

    You can do this using the link in your Google Drive settings.

    During the authorisation process can you take note on the following:

    The messages on the orange UpdraftPlus screen before your taken back to your site e.g are there any errors here?

    Then when you return to your website are there any errors displayed on that screen?

    If you don’t want to use the UpdraftPlus Google Drive app and want to configure your own app then the instructions for that can be found here:

    https://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/

    Please note the part about adding the following to your wp-config.php file:

    define(‘UPDRAFTPLUS_CUSTOM_GOOGLEDRIVE_APP’, true);

    This will show the required fields so you can enter your Google API credentials.

    Best Wishes,

    AShley

    Thread Starter avee8rmike

    (@avee8rmike)

    OK – the missing piece of info was adding that line to the config file. When I did that my API Credential boxes magically appeared in the plugin – I could enter them and then my backup was successful.

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no_refresh_token error when backing up to Google Drive’ is closed to new replies.