Unable to Copy to Team GDrive 'insufficientPermissions`

What is the problem you are having with rclone?

Unable to copy from server (Unraid) to a Google Team Drive
Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions

What is your rclone version (output from rclone version)

rclone v1.55.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Unraid 6.9.2

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy /mnt/user/Macbook\ Backup/ google:Folders/Macbook\ Backup

The rclone config contents with secrets removed.

[google]
type = drive
scope = drive
token = {
"access_token":"XXXXX",
"token_type":"Bearer",
"refresh_token":"XXXXX",
"expiry":"2021-05-14T16:38:35.414089395+01:00"
}
team_drive = XXXX
root_folder_id = 

A log from the command with the -vv flag

2021/05/14 16:16:19 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2021/05/14 16:16:19 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "--drive-team-drive" "0AG5VFF0SIEs5Uk9PVA" "-vv" "copy" "/mnt/user/Macbook Backup/" "google:Folders/Macbook"]
2021/05/14 16:16:19 DEBUG : Creating backend with remote "/mnt/user/Macbook Backup/"
2021/05/14 16:16:19 DEBUG : Creating backend with remote "google:Folders/Macbook"
2021/05/14 16:16:19 DEBUG : google: detected overridden config - adding "{UNNnP}" suffix to name
2021/05/14 16:16:19 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:19 DEBUG : pacer: Rate limited, increasing sleep to 1.120776973s
2021/05/14 16:16:19 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:19 DEBUG : pacer: Rate limited, increasing sleep to 2.616370313s
2021/05/14 16:16:20 DEBUG : pacer: low level retry 3/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:20 DEBUG : pacer: Rate limited, increasing sleep to 4.733322189s
2021/05/14 16:16:23 DEBUG : pacer: Reducing sleep to 0s
2021/05/14 16:16:28 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:28 DEBUG : pacer: Rate limited, increasing sleep to 1.984839597s
2021/05/14 16:16:28 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:28 DEBUG : pacer: Rate limited, increasing sleep to 2.933277821s
2021/05/14 16:16:30 DEBUG : pacer: low level retry 3/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:30 DEBUG : pacer: Rate limited, increasing sleep to 4.558863817s
2021/05/14 16:16:33 DEBUG : pacer: Reducing sleep to 0s
2021/05/14 16:16:38 DEBUG : fs cache: renaming cache item "google:Folders/Macbook" to be canonical "google{UNNnP}:Folders/Macbook"
2021/05/14 16:16:38 ERROR : .installer-compatibility: Failed to copy: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:38 ERROR : .VolumeIcon.icns: Failed to copy: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:38 ERROR : .file: Failed to copy: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:38 ERROR : .TempReceipt.bom: Failed to copy: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:39 ERROR : _CCC SafetyNet/ About this folder.rtf: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:40 ERROR : .PreviousSystemInformation/PreviousSystemFiles.plist: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:41 ERROR : .PreviousSystemInformation/PreviousSystemLogs.cpgz: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:41 ERROR : .PreviousSystemInformation/PreviousTemplateVersion.plist: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:41 ERROR : Users/.localized: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:43 ERROR : .adobeTemp/43B3C20F-A4D3-4B2F-9BED-74FF8D5E5E46/CameraRawRIBSCoExistPackage.pimx: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:43 ERROR : Users/Guest/.CFUserTextEncoding: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:43 ERROR : Users/Guest/.localized: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:43 ERROR : .adobeTemp/43B3C20F-A4D3-4B2F-9BED-74FF8D5E5E46/1/CameraRawRIBSCoExist/{56DCC6F4-322E-42DA-A5DA-26BAD28C1E10}/Media_db.db: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:45 ERROR : .adobeTemp/43B3C20F-A4D3-4B2F-9BED-74FF8D5E5E46/1/CameraRawRIBSCoExist/{3E7FC757-D497-4C89-A935-7D38E2164E85}/Media_db.db: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:45 ERROR : Users/Guest/Downloads/.localized: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:45 ERROR : Users/Guest/Documents/.localized: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:46 ERROR : Users/Guest/Desktop/.localized: Failed to copy: failed to make directory: googleapi: Error 403: Insufficient Permission: Request had insufficient authentication scopes., insufficientPermissions
2021/05/14 16:16:47 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:47 DEBUG : pacer: Rate limited, increasing sleep to 1.310671986s
2021/05/14 16:16:47 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:47 DEBUG : pacer: Rate limited, increasing sleep to 2.695179663s
2021/05/14 16:16:48 DEBUG : pacer: low level retry 3/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/05/14 16:16:48 DEBUG : pacer: Rate limited, increasing sleep to 4.563413327s
2021/05/14 16:16:51 DEBUG : pacer: Reducing sleep to 0s

Did you change the scope?

It might be worth running rclone config reconnect google:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.