Ok, now I'm getting an error generating credentials. [BTW: Google Chrome has a pop blocker of it's own to watch for!]
Error: invalid_client
The OAuth client was not found.
Error: invalid_client
The OAuth client was not found.
Create your account credentials
To set up your account credentials for backups, perform the following steps:
In the side navigation bar, click Credentials.
Click Create credentials.
Note:
If you already possess Google Drive account credentials, click Create credentials and then click Help me choose.
From the Which API are you using? menu, select Google Drive API.
From the Where will you be calling the API from? menu, select Web Server.
From the What data will you be accessing? menu, select User Data.
Click What credentials do I need?.
In the Create an OAuth 2.0 client ID. text box, enter your desired name.
In the Authorized redirect URIs text box, enter the https://hostname:2087/googledriveauth/callback link, where hostname represents your server's hostname.
Note:
To locate your server's hostname, perform either of the following actions:
Run the hostname command as the root user.
Navigate to WHM's Change Hostname interface (WHM >> Home >> Networking Setup >> Change Hostname). The server's hostname appear's under the Current Hostname heading.
Click Create. The interface will display your new client ID and client secret.
We strongly recommend that you save these credentials in a secure location. Step 7 of the Create a Google Drive transport procedure requires these credentials.
You can also download a JSON file with your client ID and client secret, or access them in the Credentials section.
Click Done.
Hi @jp4mc
It sounds like you didn't create the oauth credentials. You did this whole section?
If you did and you're sure you've generated this on the Google side of things please go ahead and open a ticket using the link in my signature so that we can take a closer look. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.Code:Create your account credentials To set up your account credentials for backups, perform the following steps: In the side navigation bar, click Credentials. Click Create credentials. Note: If you already possess Google Drive account credentials, click Create credentials and then click Help me choose. From the Which API are you using? menu, select Google Drive API. From the Where will you be calling the API from? menu, select Web Server. From the What data will you be accessing? menu, select User Data. Click What credentials do I need?. In the Create an OAuth 2.0 client ID. text box, enter your desired name. In the Authorized redirect URIs text box, enter the https://hostname:2087/googledriveauth/callback link, where hostname represents your server's hostname. Note: To locate your server's hostname, perform either of the following actions: Run the hostname command as the root user. Navigate to WHM's Change Hostname interface (WHM >> Home >> Networking Setup >> Change Hostname). The server's hostname appear's under the Current Hostname heading. Click Create. The interface will display your new client ID and client secret. We strongly recommend that you save these credentials in a secure location. Step 7 of the Create a Google Drive transport procedure requires these credentials. You can also download a JSON file with your client ID and client secret, or access them in the Credentials section. Click Done.
Thanks!
I agree - do you by chance have multiple projects on the google side? The one thing that is so difficult for us to troubleshoot these configuration issues is that we can't access your google drive account so we can't check the configuration there. What we can do is check our side and make sure it's not something cPanel is doing. Once you get the ticket open I'll watch it and update here with the outcome.I did. That's what's so weird. Opening ticket now.
No worries! There's always folks working the tickets day or night so whenever you're able to will be fineThere was only one other so am hoping that didn't have anything to do with this. I'm on my own today at work in my department so am trying to get the ticket in as well as all this other going on too.My timing is impeccable as usual!
I am so glad you noted this in the ticket as soon as I saw that this morning I had figured out exactly what was going on, I jumped over to this thread to let you know but was really glad you found it too! That popup is tricky too, that's one of the most common things we run into with this setup. The unfortunate part is some of this is out of our control because it happens on the google side of things.I followed the instructions to the letter and when it came to entering the ClientID and Client Secret...do not, I repeat, do not use the quotation marks [""] as this will cause the authorization to fail.
You're most welcome, I'm just really happy you were able to find the issue and you've got it set up and workingKudos to cPanelLauren though for her patience and knowledge!