Sharepoint upload XLS files 404 not found

What is the problem you are having with rclone?

Having issues syncing files from windows server to sharepoint.

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

rclone v1.68.2

  • os/version: Microsoft Windows Server 2019 Standard 1809 (64 bit)
  • os/kernel: 10.0.17763.6414 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: cmount

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

Sharepoint

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

rclone.exe sync "E:\Shares\_OLD_Data\FINANCE" finance:/ -P --ignore-size --exclude=*.db --exclude="*~*" --ignore-checksum --ignore-size --delete-during  --log-file=finance.txt
[finance]
type = onedrive
token = XXX
drive_id = XXX
drive_type = documentLibrary

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

2024/12/19 13:54:58 NOTICE: ......M2/VAT/July to Sept '24.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2024/12/19 13:54:58 ERROR : ......M2/VAT/July to Sept '24.xlsx: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 13:55:03 NOTICE: ......k/2024 Management Accounts/2024 Runts.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2024/12/19 13:55:03 ERROR : ......k/2024 Management Accounts/2024 Runts.xlsx: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 13:55:04 NOTICE: ......anagement Company/IVC ted.xlsm: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2024/12/19 13:55:04 ERROR : ......anagement Company/IVC ted.xlsm: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 13:55:04 NOTICE: ......ed Company/2s.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2024/12/19 13:55:04 ERROR : ......ed Company/2s.xlsx: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"

welcome to the forum,

can you please do the following

  1. pick just one single file to test, a simple .txt file. let's call it file.txt
  2. copy just that single file, something like
    rclone copy E:\Shares\_OLD_Data\FINANCE\file.txt finance: --retries=1 -vv
  3. post a full debug log

fwiw, --ignore-size is used twice in your command

C:\rclone>rclone copy "E:\Shares\_OLD_Data\FINANCE\Co Sec & Misc Accs\CRO Filings\Annual Returns re 311223 - Nov 2024\2023 Tax Return Status.xlsx" "finance:Co Sec & Misc Accs\CRO Filings\Annual Returns re 311223 - Nov 2024" --retries=1 -vv
2024/12/19 17:05:35 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "copy" "E:\\Shares\\_OLD_Data\\FINANCE\\Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024\\2023 Tax Return Status.xlsx" "finance:Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024" "--retries=1" "-vv"]
2024/12/19 17:05:35 DEBUG : Creating backend with remote "E:\\Shares\\_OLD_Data\\FINANCE\\Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024\\2023 Tax Return Status.xlsx"
2024/12/19 17:05:35 DEBUG : Using config file from "C:\\Users\\itadmin\\AppData\\Roaming\\rclone\\rclone.conf"
2024/12/19 17:05:35 DEBUG : fs cache: adding new entry for parent of "E:\\Shares\\_OLD_Data\\FINANCE\\Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024\\2023 Tax Return Status.xlsx", "//?/E:/Shares/_OLD_Data/FINANCE/Co Sec & Misc Accs/CRO Filings/Annual Returns re 311223 - Nov 2024"
2024/12/19 17:05:35 DEBUG : Creating backend with remote "finance:Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024"
2024/12/19 17:05:36 DEBUG : fs cache: renaming cache item "finance:Co Sec & Misc Accs\\CRO Filings\\Annual Returns re 311223 - Nov 2024" to be canonical "finance:Co Sec & Misc Accs/CRO Filings/Annual Returns re 311223 - Nov 2024"
2024/12/19 17:05:36 DEBUG : 2023 Tax Return Status.xlsx: Sizes differ (src 12607 vs dst 19101)
2024/12/19 17:05:36 DEBUG : 2023 Tax Return Status.xlsx: Starting multipart upload
2024/12/19 17:05:36 DEBUG : 2023 Tax Return Status.xlsx: Uploading segment 0/12607 size 12607
2024/12/19 17:05:37 DEBUG : 2023 Tax Return Status.xlsx: Cancelling multipart upload: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 17:05:37 NOTICE: 2023 Tax Return Status.xlsx: Failed to cancel multipart upload: itemNotFound: The upload session was not found (upload failed due to: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}")
2024/12/19 17:05:37 DEBUG : info from Update error:
null
2024/12/19 17:05:37 ERROR : 2023 Tax Return Status.xlsx: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 17:05:37 ERROR : Attempt 1/1 failed with 1 errors and: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"
2024/12/19 17:05:37 INFO  :
Transferred:       12.312 KiB / 12.312 KiB, 100%, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         1.6s

2024/12/19 17:05:37 DEBUG : 8 go routines active
2024/12/19 17:05:37 NOTICE: Failed to copy: HTTP error 404 (404 Not Found) returned body: "{\"error\":{\"code\":\"itemNotFound\",\"message\":\"The upload session was not found\"}}"

ok, but that is not what i asked for??

Updated error message with one file. No joy even if I do --ignore-checksum --ignore-size

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