# Error 403: Insufficient Permission. When using Cloud Backups with Google Drive

**URL:** https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321
**Category:** Cloud Backups
**Created:** [December 13, 2021, 2:52pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321 "2021-12-13T14:52:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Chris9](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Chris9](https://community.localwp.com/u/Chris9)
#### Post date: [December 13, 2021, 2:52pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/1 "2021-12-13T14:52:58Z")

</div>

@ben.turner I am also getting this error. I connected to Google Drive and get the same error message when attempting to back up. I lost my first draft of the website. ☹ Obviously, I’m very keen to avoid this happening again and need to get the backup working!!

I’m not sure how to post the library log as I get an error message stating that new users cannot post more than 10 links in a log!

---

<div class="post-metadata">

### Author: ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)
#### Post date: [December 13, 2021, 9:55pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/2 "2021-12-13T21:55:17Z")

</div>

> [@Chris9](#):
>
> I’m not sure how to post the library log as I get an error message stating that new users cannot post more than 10 links in a log!

You should be able to navigate to the “Support” tab in Local and click the “Download Local Log” button. This will give you a zip file that you can upload here for us to take a look at!

---

<div class="post-metadata">

### Author: ![Chris9](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Chris9](https://community.localwp.com/u/Chris9)
#### Post date: [December 14, 2021, 1:05am UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/3 "2021-12-14T01:05:47Z")

</div>

Please see attached 2 replies @ben.turner  
Thanks for your help.

[local-lightning.log](https://community.localwp.com/uploads/short-url/bltsfiEuDin0eE2nnI1oFqstKmE.log) (63.9 KB)

---

<div class="post-metadata">

### Author: ![Chris9](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Chris9](https://community.localwp.com/u/Chris9)
#### Post date: [December 14, 2021, 1:08am UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/4 "2021-12-14T01:08:07Z")

</div>

[logs.zip](https://community.localwp.com/uploads/short-url/4tRvV3NdsIvsj3TAZde7YXOv3OI.zip) (812 Bytes)  
Please see attached (2 replies)

Thankyou!

---

<div class="post-metadata">

### Author: ![Chris9](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Chris9](https://community.localwp.com/u/Chris9)
#### Post date: [December 14, 2021, 9:14am UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/5 "2021-12-14T09:14:49Z")

</div>

I also found these error logs  
[error.log](https://community.localwp.com/uploads/short-url/fGuKtpMblQSVma9Bx2BsfRPHp6j.log) (16.2 KB)  
[error.log](https://community.localwp.com/uploads/short-url/vlV90rhl12vwUysqYNIl8aJYXMb.log) (125 Bytes)

---

<div class="post-metadata">

### Author: ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)
#### Post date: [December 14, 2021, 8:11pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/6 "2021-12-14T20:11:21Z")

</div>

Thanks for that Local log @Chris9 !

When I look at the errors within the `local-lightning.log` file, I’m seeing errors that look like this:

```auto
{"thread":"main","class":"BackupAddonBackupService","level":"error","stack":"Error: Error: Command failed: \"%%userDataPath%%\\addons\\@getflywheel-local-addon-backups\\vendor\\win32\\restic.exe\" --repo rclone::drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35 -o rclone.program=\"../../AppData/Roaming/Local/addons/@getflywheel-local-addon-backups/vendor/win32/rclone.exe\" init --json\nrclone: 2021/12/13 22:42:18 NOTICE: Config file \"C:\\\\Users\\\\Warren\\\\.config\\\\rclone\\\\rclone.conf\" not found - using defaults\nrclone: 2021/12/13 22:42:18 Failed to create file system for \":drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35\": couldn't find root directory ID: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions\nFatal: create repository at rclone::drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35 failed: error talking HTTP to rclone: Get \"http://localhost/file-5577006791947779410\": unexpected EOF\n\n\n at Object.<anonymous> (%%userDataPath%%\\addons\\@getflywheel-local-addon-backups\\lib\\main.js:720:19)\n at Generator.throw (<anonymous>)\n at rejected (%%userDataPath%%\\addons\\@getflywheel-local-addon-backups\\lib\\main.js:536:65)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)","message":"Error: Command failed: \"%%userDataPath%%\\addons\\@getflywheel-local-addon-backups\\vendor\\win32\\restic.exe\" --repo rclone::drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35 -o rclone.program=\"../../AppData/Roaming/Local/addons/@getflywheel-local-addon-backups/vendor/win32/rclone.exe\" init --json\nrclone: 2021/12/13 22:42:18 NOTICE: Config file \"C:\\\\Users\\\\Warren\\\\.config\\\\rclone\\\\rclone.conf\" not found - using defaults\nrclone: 2021/12/13 22:42:18 Failed to create file system for \":drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35\": couldn't find root directory ID: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions\nFatal: create repository at rclone::drive:LocalBackups/46b12782-af3f-4a98-b4e9-60b45e112c35 failed: error talking HTTP to rclone: Get \"http://localhost/file-5577006791947779410\": unexpected EOF\n\n","timestamp":"2021-12-13T14:42:18.769Z"}

```

The main part that’s important to note is the part coming from Google Drive:

```auto
couldn't find root directory ID: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions

```

It looks like for some reason, GoogleDrive can’t find the root directory ID.

> **[Resolve errors  |  Google Drive API  |  Google Developers](https://developers.google.com/drive/api/v3/handle-errors#resolve_a_403_error_the_user_does_not_have_sufficient_permissions_for_file_fileid)**

When you look within your Google Drive account, do you have a `LocalBackups` folder? Does it also have a unique hash for the folder that contains the backups?

---

<div class="post-metadata">

### Author: ![Chris9](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Chris9](https://community.localwp.com/u/Chris9)
#### Post date: [December 15, 2021, 1:04pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/7 "2021-12-15T13:04:46Z")

</div>

Hi Ben,

I now cannot even backup at all (Screenshot attached). Google Drive connected fine before and I saw the file being backed up… it just failed on the last step of actually sending it through to Google Drive.

I cannot change the backup folder and I have no folder called LocalBackups,

I did manage to export a copy though, so that’s a positive step.

Kind regards,  
Christin

 ![Site Backup](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/e/ee7ad1717e8a6bf42ab44bae49c3997617240970.jpeg)

---

<div class="post-metadata">

### Author: ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)
#### Post date: [December 15, 2021, 7:49pm UTC](https://community.localwp.com/t/error-403-insufficient-permission-when-using-cloud-backups-with-google-drive/29321/8 "2021-12-15T19:49:50Z")

</div>

Since the previous error seemed to be related to permissions, is there anything out of the ordinary about how you connect to the internet?

For example, is this a work Wifi network? Or maybe a VPN is being used? I wonder if there’s something stripping out the authorization token used to communicate with Google’s API?
