WordPress.org

Forums

UpdraftPlus Backup and Restoration
[resolved] Google Drive: (10 posts)

  1. steelhousegfs
    Member
    Posted 1 year ago #

    Trying to configure with my google drive, but keep getting the error pasted below. all setting appear to be perfect. Please advise.

    Error: invalid_client

    no application name
    Request Details

    cookie_policy_enforce=false
    scope=https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.file https://docs.googleusercontent.com/ https://docs.google.com/feeds/ https://spreadsheets.google.com/feeds/
    response_type=code
    redirect_uri=http://base.steelhousefitness.com/wp-admin/options-general.php?action=updraftmethod-googledrive-auth
    access_type=offline
    state=token
    display=page
    prompt=consent
    client_id=747422266731.apps.googleusercontent.com

    http://wordpress.org/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The message is from Google, and means that they don't reckon that the client ID you entered is valid.

    Best wishes,
    David

  3. bstritesky
    Member
    Posted 1 year ago #

    I saw this same thing. Make sure you fill out the "Consent Screen" information within the Google APIs area for your project. This would be done either before or after you enabled the Drive API. After I filled out at least a name and URL, then I was able to successfully authorize my application.

  4. russwaters
    Member
    Posted 1 year ago #

    So what's the solution? What are the steps to resolve this issue please?

  5. bjnoel
    Member
    Posted 1 year ago #

    I got it working by reverting to the old version of the google api developer console (it didn't work in the new console) and then going to API Access -> Edit Branding Information and filling out the details there. When I tried to alter the information in the "Consent" section of the new console I was receiving permission errors.

  6. milesart
    Member
    Posted 1 year ago #

    same over here (it's not working since the new google console):

    401. That’s an error.

    Error: invalid_client

    no application name

    scope=https://www.googleapis.com/auth/drive
    response_type=code
    access_type=offline
    redirect_uri=http://www.lovesilence.com/wp-admin/options-general.php?action=updraftmethod-googledrive-auth
    approval_prompt=force
    state=token
    client_id=237387744909-g3et8i6t41f89h46lv8esp9f5o264v0k.apps.googleusercontent

  7. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

  8. ashleighm
    Member
    Posted 7 months ago #

    bstritesky's solution worked perfectly for me. Thanks!

  9. mstmorris
    Member
    Posted 7 months ago #

    bstritesky solution worked for me too. Thanks!

  10. David Anderson
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

    Just to point that bstritesky's "solution" is in fact one of the steps in the setup instructions: https://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/

    3. Set up a product name and email address

    You will also need to set up something in “APIs & auth -> Consent Screen” at this point.

    Specifically, you will need to enter an application name and an email address. You might have already done this in step 1 (Google keep moving things around). If you see errors later about missing an application name or empty email address, then this is the relevant step. These details are shown back to you in step 5 (below) – Google do not use them for anything else.

    So, people are only having a problem here if they skipped that step in the instructions. Glad you're all managing to get it fixed, though!

    Best wishes,
    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • UpdraftPlus Backup and Restoration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic