Fix redirect_uri_mismatch trying to access Google Drive for WHM Additional Backups

Fix redirect_uri_mismatch trying to access Google Drive for WHM Additional Backups

If you are looking to have your WHM backups also save to a Google Drive, but cannot get it to work because of the error “redirect_uri_mismatch trying to access Google Drive” – I have the solution for you.

Assuming you have followed through the documentation and have made it through the end only to test the configuration and where you see the error: redirect_uri_mismatch trying to access Google Drive” – you likely are putting in a different URL than what Google expects.

Example with the domain example.com. While I use example.com/whm to access WHM when I need to login. You will get the error when you use that instead of the server name specifically given to you by your host.

https://example.com:2087/googledriveauth/callback (Fails/will give you the error)
https://host.example.com:2087/googledriveauth/callback (Works)

If you are seeing the error “redirect_uri_mismatch trying to access Google Drive” – make sure you are using the URL that your host uses (set when you signed up for hosting).

Documentation on Setting U Google Drive for Backups in WHM:

https://docs.cpanel.net/knowledge-base/backup/how-to-configure-google-drive-as-a-backup-additional-destination/

Leave a Reply

Your email address will not be published.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.