rclone: onedrive: Authorization header should not be included in PUT request for multipart upload

The associated forum post URL from https://forum.rclone.org

https://forum.rclone.org/t/onedrive-unauthenticated-when-trying-to-copy-sync-but-can-use-lsd/41149/27?u=chscott

What is the problem you are having with rclone?

Unable to copy files from one OneDrive remote to another.

What is your rclone version (output from rclone version)

1.65.0

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

Windows, 64-bit

Which cloud storage system are you using? (e.g. Google Drive)

OneDrive -> OneDrive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone copy source: target:

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

Details in forum posting.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don’t comment if you have no relevant information to add. It’s just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 9
  • Comments: 15 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Hi all, I came across this thread when searching for solutions to a similar problems. My rclone OneDrive is acting up. I can mount the drive and list files, but any read/write results in ERROR : IO error: unauthenticated: Unauthenticated

I have tried reconfig’d the drive, refresh tokens, update rclone to latest version 1.69, but still the same problem. FWIW my Google drive mount is working fine, so I guess this is specific to OneDrive? MSFT changed something in the backend?

I wonder why this never fails in the integration tests? Maybe it needs very big files?

Anyway, @cetteup your idea of a unauthenticated client is easy to implement.

Please try this @chscott and @cetteup

v1.66.0-beta.7595.5841b1253.fix-7405-onedrive-upload on branch fix-7405-onedrive-upload (uploaded in 15-30 mins)