Syc with google drive (old gsuite for education)

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Try to make syc and getting some error that will share below with log file

Run the command 'rclone version' and share the full output of the command.

rclone v1.66.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.15.0-101-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.1
  • go/linking: static
  • go/tags: none

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

Google Drive - Old gsuite for education

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

rclone sync /www/wwwroot/stream/down/ Google:down --tpslimit 12 --tpslimit-burst 12 --transfers 64 --checkers 32 --checksum -P --fast-list --bwlimit=8.68  --log-file /www/wwwroot/rclone.log 

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[Google]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = 

A log from the command that you were trying to run with the -vv flag

2024/04/22 13:40:25 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1028.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
2024/04/22 15:04:29 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1166.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:08:53 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1171.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:09:18 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1167.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:09:25 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1178.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:11:23 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1175.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:11:44 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1168.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:12:47 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1165.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:12:58 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1172.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:13:35 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1169.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:14:31 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1176.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:15:48 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1179.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:16:00 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1177.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:16:10 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1173.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 15:21:55 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1170.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:14:46 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ131.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:18:51 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1296.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:24:11 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1294.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:28:16 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1293.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:28:29 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1304.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:28:52 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1305.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:30:24 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1306.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:30:49 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1307.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:36:36 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1308.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:37:43 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1297.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:38:07 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1303.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:38:31 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1300.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:38:32 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ130.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:39:13 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1302.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:40:03 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1299.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 16:51:05 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1298.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:14:10 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ136.ts: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Csha1Checksum%2Csha256Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey&keepRevisionForever=false&prettyPrint=false&supportsAllDrives=true&uploadType=multipart": EOF
2024/04/22 17:18:08 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1329.ts: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Csha1Checksum%2Csha256Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey&keepRevisionForever=false&prettyPrint=false&supportsAllDrives=true&uploadType=multipart": EOF
2024/04/22 17:20:49 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ132.ts: Failed to copy: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Csha1Checksum%2Csha256Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%271qG0uaLno5rTs4fZmvfKbixmdt6paoSGU%27+in+parents%29+and+%28name%3D%27365RL6TJ132.ts%27%29&supportsAllDrives=true": EOF
2024/04/22 17:20:50 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1320.ts: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Csha1Checksum%2Csha256Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey&keepRevisionForever=false&prettyPrint=false&supportsAllDrives=true&uploadType=multipart": EOF
2024/04/22 17:28:22 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1379.ts: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Csha1Checksum%2Csha256Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey&keepRevisionForever=false&prettyPrint=false&supportsAllDrives=true&uploadType=multipart": EOF
2024/04/22 17:38:51 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1405.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:38:51 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1436.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:38:51 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1409.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:38:54 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1410.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:39:05 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1448.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:43:03 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1416.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:44:40 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1443.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:48:02 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1413.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:49:45 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1441.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 17:49:50 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1435.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 18:02:50 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1449.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 18:04:07 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1425.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 18:51:06 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ155.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 18:51:08 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1571.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 18:51:26 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1572.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:03:38 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1562.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:04:52 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1566.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:08:01 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1568.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:08:46 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1557.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:09:26 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1556.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:10:13 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1558.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:11:13 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1555.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:12:14 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1567.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
2024/04/22 19:21:27 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1564.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 19:23:59 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1563.ts: Failed to copy: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 20:14:06 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1721.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials
2024/04/22 20:14:25 ERROR : 59b582894e9a93a78ad5c01d70d5dcb3/365RL6TJ1716.ts: Failed to copy: couldn't list directory: googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
More details:
Reason: authError, Message: Invalid Credentials

What about something simple, e.g.:

rclone lsd Google: -vv

does it work? If not please post full output.

root@Ubuntu-2004-focal-64-minimal-hwe ~ # rclone lsd Google: -vv
2024/04/23 00:01:34 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "lsd" "Google:" "-vv"]
2024/04/23 00:01:34 DEBUG : Creating backend with remote "Google:"
2024/04/23 00:01:34 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/04/23 00:01:34 DEBUG : Google: Loaded invalid token from config file - ignoring
2024/04/23 00:01:34 DEBUG : Saving config "token" in section "Google" of the config file
2024/04/23 00:01:34 DEBUG : Google: Saved new token in config file
2024/04/23 00:01:35 DEBUG : Google drive root '': 'root_folder_id = 0AHY3ts_CdnJVUk9PVA' - save this in the config to speed up startup
           0 2023-11-06 12:33:23        -1 Backup
           0 2020-06-16 14:56:09        -1 ****
           0 2023-07-04 17:45:52        -1 ****
           0 2023-07-22 01:48:10        -1 ****
           0 2023-08-02 00:05:25        -1 ***
           0 2021-02-20 19:36:16        -1 PC
           0 2020-06-02 20:58:38        -1 ****
           0 2023-02-09 00:26:17        -1 ***
           0 2023-07-24 01:03:32        -1 **
           0 2023-07-24 01:04:12        -1 ****
           0 2024-04-22 00:09:12        -1 down
2024/04/23 00:01:35 DEBUG : 8 go routines active

this is output
**** is my dir name that i hide

Can you make sure that date/time of your machine is correct? Ideally it should be synced periodically with some time server.

Then run simplified sync on some small test folder (to limit output size and not include confidential info):

rclone sync /path/to/test Google:test --checksum -P --log-file /www/wwwroot/rclone.log  -vv

and share full log

This is Hetzner server and aapanel installed, so date and time automatically set when aapanel installed.
below is full log when i test ur cmd
rclone.log (1020.1 KB)

Thanks for ur time and help

There is no issue. All works.

Try then your full sync but do not set any transfers nor checkers. I do not think gdrive can cope with high values you tried to use. Two files per second is sort of max you can expect with this provider. Even default values might be too high. If still having issues try to lower checkers to 2 and transfers to 1 for example to see if this fix the issue.

i have one confusion here, my server is hosted in Germany and im in UK, when i created google id and secret key, i used my local machine, means there is a time difference with my server and my local machine, is that matter?

Should not. Reference time is everywhere the same (UTC). Time zones are for human presentation only.

this cmd is working without any error, but only copy 150gb in almost 30 hours, i think there must be a way to speed it up, now im moving small files, last week i was moving mp4 file and i reach the limit in 4 5 hours, so wondering with small files its taking ages
maybe someone guide me further to speedup process

Thanks

gdrive performance is terrible for small files. Max what you can get is about 2 files per second. 1 million files takes about 1 week to transfer. Even if they are 1 byte each.

There is no workaround. If this is not acceptable for your workflow than you have to look for another storage provider.

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