"./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Starting (try 5/5) 2025/09/07 04:06:17 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qafufax7tase" 2025/09/07 04:06:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/09/07 04:06:17 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Has cached credentials 2025/09/07 04:06:18 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Used cached credential to initialize the ProtonDrive API 2025/09/07 04:06:18 DEBUG : Creating backend with remote "/tmp/rclone42648362" === RUN TestServerSideMoveOverSelf run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:06:25 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-faboqeg1sawe" 2025/09/07 04:06:25 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Has cached credentials 2025/09/07 04:06:26 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Used cached credential to initialize the ProtonDrive API sync_test.go:701: Server side copy (if possible) proton drive root link ID 'rclone-test-qafufax7tase' -> proton drive root link ID 'rclone-test-faboqeg1sawe' 2025/09/07 04:06:27 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/09/07 04:06:27 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Waiting for checks to finish 2025/09/07 04:06:27 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Waiting for transfers to finish 2025/09/07 04:06:30 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/09/07 04:06:30 INFO : sub dir/hello world: Copied (new) 2025/09/07 04:06:31.053856 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/09/07 04:06:31.053893 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/09/07 04:06:33 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Using server-side directory move 2025/09/07 04:06:33 INFO : proton drive root link ID 'rclone-test-faboqeg1sawe': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/09/07 04:06:33 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11) 2025/09/07 04:06:33 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Waiting for checks to finish 2025/09/07 04:06:33 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Waiting for transfers to finish 2025/09/07 04:06:33 INFO : sub dir/hello world: Deleted 2025/09/07 04:06:34.250700 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2u1ewXcPmeXymCG5Ts2AKG2m43_PFb7fIW5B8VFu1iBCbXpe7GGGM-5tdLh3SPPdpCXg4zQUcF-sNXNGun6jqw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:06:34.250774 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2u1ewXcPmeXymCG5Ts2AKG2m43_PFb7fIW5B8VFu1iBCbXpe7GGGM-5tdLh3SPPdpCXg4zQUcF-sNXNGun6jqw==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:34 ERROR : sub dir/hello world: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2u1ewXcPmeXymCG5Ts2AKG2m43_PFb7fIW5B8VFu1iBCbXpe7GGGM-5tdLh3SPPdpCXg4zQUcF-sNXNGun6jqw==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:714: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:714 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/2u1ewXcPmeXymCG5Ts2AKG2m43_PFb7fIW5B8VFu1iBCbXpe7GGGM-5tdLh3SPPdpCXg4zQUcF-sNXNGun6jqw==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveOverSelf 2025/09/07 04:06:34 DEBUG : proton drive root link ID 'rclone-test-faboqeg1sawe': Purge remote --- FAIL: TestServerSideMoveOverSelf (16.98s) === RUN TestSyncWithTrackRenames run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" sync_test.go:1568: Can track renames: true 2025/09/07 04:06:35 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:35 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:35 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:35 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/09/07 04:06:35 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:35 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/09/07 04:06:35 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:37 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/09/07 04:06:37 INFO : potato: Copied (new) 2025/09/07 04:06:37 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:37 INFO : yam: Copied (new) 2025/09/07 04:06:37 DEBUG : Waiting for deletions to finish 2025/09/07 04:06:37 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/09/07 04:06:37 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:37 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:37 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:37 DEBUG : potato: Unchanged skipping 2025/09/07 04:06:37 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:38.354093 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Zy4aUhUoeSdwWctITbAoc-yEJr7rf-hDIp1hOUus5Hh1mMwDDtwdQVNM3Do7UPtRLisZ1Xt63Fm1yKKvGeq6kA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:06:38.354128 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Zy4aUhUoeSdwWctITbAoc-yEJr7rf-hDIp1hOUus5Hh1mMwDDtwdQVNM3Do7UPtRLisZ1Xt63Fm1yKKvGeq6kA==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:38 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Zy4aUhUoeSdwWctITbAoc-yEJr7rf-hDIp1hOUus5Hh1mMwDDtwdQVNM3Do7UPtRLisZ1Xt63Fm1yKKvGeq6kA==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:38 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Zy4aUhUoeSdwWctITbAoc-yEJr7rf-hDIp1hOUus5Hh1mMwDDtwdQVNM3Do7UPtRLisZ1Xt63Fm1yKKvGeq6kA==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:38 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/09/07 04:06:38 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:39 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:39 INFO : yaml: Copied (new) 2025/09/07 04:06:39 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting files as there were IO errors 2025/09/07 04:06:39 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting directories as there were IO errors sync_test.go:1586: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1586 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenames --- FAIL: TestSyncWithTrackRenames (5.17s) === RUN TestSyncWithTrackRenamesStrategyModtime run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" sync_test.go:1640: Can track renames: true 2025/09/07 04:06:41 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:41 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:41 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:41 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/09/07 04:06:41 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/09/07 04:06:41 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:41 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:42 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/09/07 04:06:42 INFO : potato: Copied (new) 2025/09/07 04:06:42 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:42 INFO : yam: Copied (new) 2025/09/07 04:06:42 DEBUG : Waiting for deletions to finish 2025/09/07 04:06:43 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/09/07 04:06:43 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:43 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:43 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:43 DEBUG : potato: Unchanged skipping 2025/09/07 04:06:43 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:43.522914 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/or9bHe3BMwIo-EFvw5vOfEh_UM10rDVyGD5VIFul0WHHjaBB3sTPPa7-AsahC9em2JTo4ije8-EuvQhyO4hjMg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:06:43.522946 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/or9bHe3BMwIo-EFvw5vOfEh_UM10rDVyGD5VIFul0WHHjaBB3sTPPa7-AsahC9em2JTo4ije8-EuvQhyO4hjMg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:43 ERROR : yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/or9bHe3BMwIo-EFvw5vOfEh_UM10rDVyGD5VIFul0WHHjaBB3sTPPa7-AsahC9em2JTo4ije8-EuvQhyO4hjMg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:43 DEBUG : yaml: Failed to rename to "yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/or9bHe3BMwIo-EFvw5vOfEh_UM10rDVyGD5VIFul0WHHjaBB3sTPPa7-AsahC9em2JTo4ije8-EuvQhyO4hjMg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:43 DEBUG : yaml: Need to transfer - No matching file found at Destination 2025/09/07 04:06:43 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:44 DEBUG : yaml: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:44 INFO : yaml: Copied (new) 2025/09/07 04:06:44 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting files as there were IO errors 2025/09/07 04:06:44 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting directories as there were IO errors sync_test.go:1658: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1658 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyModtime --- FAIL: TestSyncWithTrackRenamesStrategyModtime (5.31s) === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" sync_test.go:1679: Can track renames: true 2025/09/07 04:06:46 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:46 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:46 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:46 DEBUG : potato: Need to transfer - No matching file found at Destination 2025/09/07 04:06:46 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2025/09/07 04:06:46 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:46 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:47 DEBUG : potato: sha1 = 1d1ac61cfffcfdd0a15cc9ae575fb06ca8c11fb5 OK 2025/09/07 04:06:47 INFO : potato: Copied (new) 2025/09/07 04:06:48 DEBUG : sub/yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:48 INFO : sub/yam: Copied (new) 2025/09/07 04:06:48 DEBUG : Waiting for deletions to finish 2025/09/07 04:06:48 DEBUG : potato: Size and modification time the same (differ by -499.999999ms, within tolerance 1s) 2025/09/07 04:06:48 DEBUG : potato: Unchanged skipping 2025/09/07 04:06:49 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Making map for --track-renames 2025/09/07 04:06:49 INFO : proton drive root link ID 'rclone-test-qafufax7tase': Finished making map for --track-renames 2025/09/07 04:06:49 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:49 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for renames to finish 2025/09/07 04:06:49.518732 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/svxfTKIqg6mw3j_7FkaEGkEDIc3ncFSWkVC5Wyh47o-Q4bH1MhDDJmMjaS8YxtK-cOtA8qGpGXxCCnIAshOxfQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:06:49.518765 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/svxfTKIqg6mw3j_7FkaEGkEDIc3ncFSWkVC5Wyh47o-Q4bH1MhDDJmMjaS8YxtK-cOtA8qGpGXxCCnIAshOxfQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:49 ERROR : sub/yam: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/svxfTKIqg6mw3j_7FkaEGkEDIc3ncFSWkVC5Wyh47o-Q4bH1MhDDJmMjaS8YxtK-cOtA8qGpGXxCCnIAshOxfQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:49 DEBUG : yam: Failed to rename to "sub/yam": 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/svxfTKIqg6mw3j_7FkaEGkEDIc3ncFSWkVC5Wyh47o-Q4bH1MhDDJmMjaS8YxtK-cOtA8qGpGXxCCnIAshOxfQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:06:49 DEBUG : yam: Need to transfer - No matching file found at Destination 2025/09/07 04:06:49 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:50 DEBUG : yam: sha1 = ad84b2fb6729688a5ee3225164a6d4d58465b33e OK 2025/09/07 04:06:50 INFO : yam: Copied (new) 2025/09/07 04:06:50 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting files as there were IO errors 2025/09/07 04:06:50 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting directories as there were IO errors sync_test.go:1697: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1697 Error: Received unexpected error: not deleting files as there were IO errors Test: TestSyncWithTrackRenamesStrategyLeaf --- FAIL: TestSyncWithTrackRenamesStrategyLeaf (6.26s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:06:52 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/09/07 04:06:52 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2025/09/07 04:06:52 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for checks to finish 2025/09/07 04:06:52 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Waiting for transfers to finish 2025/09/07 04:06:54 DEBUG : nested/sub dir/file: sha1 = b4b3e0a278988bc15f2913af3f4153ccef74e465 OK 2025/09/07 04:06:54 INFO : nested/sub dir/file: Copied (new) 2025/09/07 04:06:54 INFO : nested/sub dir/file: Deleted 2025/09/07 04:06:55 DEBUG : sub dir/hello world: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/09/07 04:06:55 INFO : sub dir/hello world: Copied (new) 2025/09/07 04:06:55 INFO : sub dir/hello world: Deleted 2025/09/07 04:06:55 ERROR : Local file system at /tmp/rclone42648362: not deleting directories as there were IO errors sync_test.go:1818: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1818 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestMoveWithDeleteEmptySrcDirs --- FAIL: TestMoveWithDeleteEmptySrcDirs (4.53s) === RUN TestServerSideMove run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:06:56 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-locumux3buke" 2025/09/07 04:06:56 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Has cached credentials 2025/09/07 04:06:57 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Used cached credential to initialize the ProtonDrive API sync_test.go:1735: Server side move (if possible) proton drive root link ID 'rclone-test-qafufax7tase' -> proton drive root link ID 'rclone-test-locumux3buke' 2025/09/07 04:07:06 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Using server-side directory move 2025/09/07 04:07:06 INFO : proton drive root link ID 'rclone-test-locumux3buke': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/09/07 04:07:06 DEBUG : potato2: Need to transfer - File not found at Destination 2025/09/07 04:07:06 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/09/07 04:07:06 DEBUG : empty space: Unchanged skipping 2025/09/07 04:07:06 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/09/07 04:07:06 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Waiting for checks to finish 2025/09/07 04:07:06 INFO : empty space: Deleted 2025/09/07 04:07:06 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Waiting for transfers to finish 2025/09/07 04:07:06 INFO : potato3: Deleted 2025/09/07 04:07:06.857216 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/7jLT-MhTMtJvYy69oXWInGoI8Pfk6_hrZ5359YsbSCCnOLY8vQW6TlJNj7Ne0fnNvvyLCkO3-Lbm5vCJ43jO8g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:06.857255 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/7jLT-MhTMtJvYy69oXWInGoI8Pfk6_hrZ5359YsbSCCnOLY8vQW6TlJNj7Ne0fnNvvyLCkO3-Lbm5vCJ43jO8g==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:06 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/7jLT-MhTMtJvYy69oXWInGoI8Pfk6_hrZ5359YsbSCCnOLY8vQW6TlJNj7Ne0fnNvvyLCkO3-Lbm5vCJ43jO8g==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:06.962648 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vZ5DlVH_9W3UxZrEt12XjyFx_SAZefJgQ1F5xWbRfIbo5XkLRhy5bCn4Aq-a3oFhlyxczEGmi-pnZIAE_DxNKg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:06.962687 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vZ5DlVH_9W3UxZrEt12XjyFx_SAZefJgQ1F5xWbRfIbo5XkLRhy5bCn4Aq-a3oFhlyxczEGmi-pnZIAE_DxNKg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:06 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vZ5DlVH_9W3UxZrEt12XjyFx_SAZefJgQ1F5xWbRfIbo5XkLRhy5bCn4Aq-a3oFhlyxczEGmi-pnZIAE_DxNKg==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1746: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1746 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1911 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/vZ5DlVH_9W3UxZrEt12XjyFx_SAZefJgQ1F5xWbRfIbo5XkLRhy5bCn4Aq-a3oFhlyxczEGmi-pnZIAE_DxNKg==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMove 2025/09/07 04:07:06 DEBUG : proton drive root link ID 'rclone-test-locumux3buke': Purge remote --- FAIL: TestServerSideMove (11.28s) === RUN TestServerSideMoveWithFilter run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:07:08 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qakanok8leja" 2025/09/07 04:07:08 DEBUG : proton drive root link ID 'rclone-test-qakanok8leja': Has cached credentials 2025/09/07 04:07:08 DEBUG : proton drive root link ID 'rclone-test-qakanok8leja': Used cached credential to initialize the ProtonDrive API sync_test.go:1735: Server side move (if possible) proton drive root link ID 'rclone-test-qafufax7tase' -> proton drive root link ID 'rclone-test-qakanok8leja' 2025/09/07 04:07:17 DEBUG : empty space: Excluded (Size Filter) 2025/09/07 04:07:17 DEBUG : empty space: Excluded 2025/09/07 04:07:17 DEBUG : empty space: Excluded (Size Filter) 2025/09/07 04:07:17 DEBUG : empty space: Excluded 2025/09/07 04:07:17 DEBUG : potato2: Need to transfer - File not found at Destination 2025/09/07 04:07:17 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/09/07 04:07:17 DEBUG : proton drive root link ID 'rclone-test-qakanok8leja': Waiting for checks to finish 2025/09/07 04:07:17 DEBUG : proton drive root link ID 'rclone-test-qakanok8leja': Waiting for transfers to finish 2025/09/07 04:07:17 INFO : potato3: Deleted 2025/09/07 04:07:18.069156 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ANPCO_an8QJd9kYDLnT_h2T1ObT36rc8tni8NlhGcoI9FSOrGtsAOFGvJmcBnAqht8PUrERmfatfqYEqvQzDYg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:18.069209 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ANPCO_an8QJd9kYDLnT_h2T1ObT36rc8tni8NlhGcoI9FSOrGtsAOFGvJmcBnAqht8PUrERmfatfqYEqvQzDYg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:18 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ANPCO_an8QJd9kYDLnT_h2T1ObT36rc8tni8NlhGcoI9FSOrGtsAOFGvJmcBnAqht8PUrERmfatfqYEqvQzDYg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:18.168146 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9DcwX8XL6jFukEQyN6VhVL5Ub3izqI8Z34eklTI4xsJEqh7wI3v3KuufxeAj28eHyPcRclQCtSvxwekcWMmyOQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:18.168176 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9DcwX8XL6jFukEQyN6VhVL5Ub3izqI8Z34eklTI4xsJEqh7wI3v3KuufxeAj28eHyPcRclQCtSvxwekcWMmyOQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:18 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9DcwX8XL6jFukEQyN6VhVL5Ub3izqI8Z34eklTI4xsJEqh7wI3v3KuufxeAj28eHyPcRclQCtSvxwekcWMmyOQ==/move: This value should not be blank. (Code=2000, Status=400) sync_test.go:1746: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1746 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1924 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9DcwX8XL6jFukEQyN6VhVL5Ub3izqI8Z34eklTI4xsJEqh7wI3v3KuufxeAj28eHyPcRclQCtSvxwekcWMmyOQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestServerSideMoveWithFilter 2025/09/07 04:07:18 DEBUG : proton drive root link ID 'rclone-test-qakanok8leja': Purge remote --- FAIL: TestServerSideMoveWithFilter (11.52s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:07:19 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-xejaqil7viwi" 2025/09/07 04:07:19 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Has cached credentials 2025/09/07 04:07:20 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Used cached credential to initialize the ProtonDrive API 2025/09/07 04:07:24 INFO : tomatoDir: Making directory sync_test.go:1735: Server side move (if possible) proton drive root link ID 'rclone-test-qafufax7tase' -> proton drive root link ID 'rclone-test-xejaqil7viwi' 2025/09/07 04:07:28 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Using server-side directory move 2025/09/07 04:07:28 INFO : proton drive root link ID 'rclone-test-xejaqil7viwi': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/09/07 04:07:29 DEBUG : potato2: Need to transfer - File not found at Destination 2025/09/07 04:07:29 DEBUG : empty space: Size and modification time the same (differ by 0s, within tolerance 1s) 2025/09/07 04:07:29 DEBUG : potato3: Sizes differ (src 68 vs dst 60) 2025/09/07 04:07:29 DEBUG : empty space: Unchanged skipping 2025/09/07 04:07:29 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Waiting for checks to finish 2025/09/07 04:07:29 INFO : potato3: Deleted 2025/09/07 04:07:29 INFO : empty space: Deleted 2025/09/07 04:07:29 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Waiting for transfers to finish 2025/09/07 04:07:29.789911 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/s4MCA4f3pagOgfnVZ_wLCUUwiKW2OV6khWPHHksvNuI2ntzgE6RydREu2TIvLWDpHVhKB5agO09ycf_SVhqtRg==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:29.789948 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/s4MCA4f3pagOgfnVZ_wLCUUwiKW2OV6khWPHHksvNuI2ntzgE6RydREu2TIvLWDpHVhKB5agO09ycf_SVhqtRg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:29 ERROR : potato2: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/s4MCA4f3pagOgfnVZ_wLCUUwiKW2OV6khWPHHksvNuI2ntzgE6RydREu2TIvLWDpHVhKB5agO09ycf_SVhqtRg==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:29.912573 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TZg9xBglV_ia6cm2DJClgrgn2t-SLRNHOo5XLBcALriEnD3klBfk2m_FZqswBH0Ceaw3woluY-es_I3NHLujDA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/09/07 04:07:29.912595 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TZg9xBglV_ia6cm2DJClgrgn2t-SLRNHOo5XLBcALriEnD3klBfk2m_FZqswBH0Ceaw3woluY-es_I3NHLujDA==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:29 ERROR : potato3: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/TZg9xBglV_ia6cm2DJClgrgn2t-SLRNHOo5XLBcALriEnD3klBfk2m_FZqswBH0Ceaw3woluY-es_I3NHLujDA==/move: This value should not be blank. (Code=2000, Status=400) 2025/09/07 04:07:29 ERROR : proton drive root link ID 'rclone-test-qafufax7tase': not deleting directories as there were IO errors sync_test.go:1746: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1746 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1931 Error: Received unexpected error: not deleting directories as there were IO errors Test: TestServerSideMoveDeleteEmptySourceDirs 2025/09/07 04:07:29 DEBUG : proton drive root link ID 'rclone-test-xejaqil7viwi': Purge remote --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (11.85s) === RUN TestSyncBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:07:36 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qafufax7tase/dst" 2025/09/07 04:07:36 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/dst': Has cached credentials 2025/09/07 04:07:37 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/dst': Used cached credential to initialize the ProtonDrive API 2025/09/07 04:09:45 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qafufax7tase/backup" 2025/09/07 04:09:45 DEBUG : Config file has changed externally - reloading 2025/09/07 04:09:45 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/backup': Has cached credentials 2025/09/07 04:09:46 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/backup': Used cached credential to initialize the ProtonDrive API 2025/09/07 04:12:58.048380 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=192&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:12:58.048440 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=192&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:12:58 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/09/07 04:12:58 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/09/07 04:12:58 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/09/07 04:12:58 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/09/07 04:13:04.890862 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:04.890898 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:04.998238 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:04.998280 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:04 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : one: Need to transfer - File not found at Destination 2025/09/07 04:13:05 DEBUG : two: Need to transfer - File not found at Destination 2025/09/07 04:13:05 ERROR : proton drive root link ID 'rclone-test-qafufax7tase/dst': error reading destination root directory: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/dst': Waiting for checks to finish 2025/09/07 04:13:05 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase/dst': Waiting for transfers to finish 2025/09/07 04:13:05.067351 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.067394 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:05.078123 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.078168 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:05.200431 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:05.200490 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 ERROR : one: Failed to copy: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05.316974 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:05.317011 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 ERROR : two: Failed to copy: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 ERROR : proton drive root link ID 'rclone-test-qafufax7tase/dst': not deleting files as there were IO errors 2025/09/07 04:13:05 ERROR : proton drive root link ID 'rclone-test-qafufax7tase/dst': not deleting directories as there were IO errors sync_test.go:2415: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2415 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2457 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncBackupDir 2025/09/07 04:13:05.370357 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.370394 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:05.482893 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:05.482935 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/09/07 04:13:05 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2415 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2457 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncBackupDir --- FAIL: TestSyncBackupDir (333.91s) === RUN TestSyncBackupDirWithSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:13:05.560284 WARN RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.560312 ERROR RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:05.668550 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:05.668820 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:285: Failed to put "dst/one" to "proton drive root link ID 'rclone-test-qafufax7tase'": failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05.726490 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.726526 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:05.840548 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:05.840574 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:05 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2401 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2461 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncBackupDirWithSuffix --- FAIL: TestSyncBackupDirWithSuffix (0.34s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:13:05.898039 WARN RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:05.898071 ERROR RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.002923 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.002947 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:285: Failed to put "dst/one" to "proton drive root link ID 'rclone-test-qafufax7tase'": failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06.059239 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.059263 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.164256 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.164285 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2401 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2465 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncBackupDirWithSuffixKeepExtension --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (0.32s) === RUN TestSyncBackupDirSuffixOnly run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:13:06.221153 WARN RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.221176 ERROR RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.332984 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.333009 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:285: Failed to put "dst/one" to "proton drive root link ID 'rclone-test-qafufax7tase'": failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06.385748 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.385779 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.499290 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.499318 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2401 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2469 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncBackupDirSuffixOnly --- FAIL: TestSyncBackupDirSuffixOnly (0.33s) === RUN TestSyncSuffix run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:13:06.557040 WARN RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.557072 ERROR RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.675684 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.675748 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:285: Failed to put "dst/one" to "proton drive root link ID 'rclone-test-qafufax7tase'": failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06.730544 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.730587 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:06.845027 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:06.845064 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:06 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2488 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2553 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncSuffix --- FAIL: TestSyncSuffix (0.35s) === RUN TestSyncSuffixKeepExtension run.go:180: Remote "proton drive root link ID 'rclone-test-qafufax7tase'", Local "Local file system at /tmp/rclone42648362", Modify Window "1s" 2025/09/07 04:13:06.908175 WARN RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:06.908207 ERROR RESTY 401 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/IW8wqvRWOdPk6q7oO6L9yGHrWovZE0lq1a07zzMrPQbXo28qi57U_RKVu4QbO_-wxOW3WQ4gtPPWllKxzwsDMQ==/checkAvailableHashes: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:07.018215 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:07.018257 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:285: Failed to put "dst/one" to "proton drive root link ID 'rclone-test-qafufax7tase'": failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:07.075374 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:07.075399 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==/children?Page=0&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:07.188233 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:07.188257 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:07 ERROR : error listing: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2488 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2554 Error: Received unexpected error: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) Test: TestSyncSuffixKeepExtension --- FAIL: TestSyncSuffixKeepExtension (0.34s) FAIL 2025/09/07 04:13:07 DEBUG : proton drive root link ID 'rclone-test-qafufax7tase': Purge remote 2025/09/07 04:13:07.243160 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==: Invalid access token (Code=401, Status=401), Attempt 1 2025/09/07 04:13:07.243186 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/C8k6bYn5MOmjmDuD35yzfs7bDdHJseQvFZCJYhSbNjbMbWxB6lqYf7B5X5Mg3TuWOPldZPqv8gSncyrANS5b7g==: Invalid access token (Code=401, Status=401) 2025/09/07 04:13:07.360771 WARN RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400), Attempt 1 2025/09/07 04:13:07.360797 ERROR RESTY 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) 2025/09/07 04:13:07 NOTICE: purge failed: failed to refresh auth: failed to refresh auth, de-auth: 400 POST https://mail.proton.me/api/auth/v4/refresh: Invalid refresh token (Code=10013, Status=400) "./sync.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Finished ERROR in 6m50.019202879s (try 5/5): exit status 1: Failed [TestServerSideMoveOverSelf TestSyncWithTrackRenames TestSyncWithTrackRenamesStrategyModtime TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension]