New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't update file with certain content on OneDrive Personal #1734
Comments
The important part to replicate is that we must be overwriting Replication with rclone First show we can upload
Now show we can upload
I thought maybe the files might have the same quickxor hash but they don't. They only differ by one bit, so I guess it makes sense that the quickxor hash only differs by one bit. I wonder if the structure of the quickxor hashes is causing a problem.
Note that
I tried to replicate this with onedrive business and it did not replicate. It worked just fine there! |
Category
Expected or Desired Behavior
I've uploaded file on my OneDrive Personal and updating it with
createUploadSession
.Observed Behavior
With some specific kind of content, I get the
{"error":{"code":"invalidRequest","message":"Bad Argument"}}
error on update.Steps to Reproduce
Attaching
file_v1.bin
which I'm updating withfile_v2.bin
at the same path. Note that modification time should be different to reproduce. I'm usingtouch -t 2309290000 file_v1.bin && touch -t 2309290001 file_v2.bin
to ensure that.I can provide more files like that if needed where I encounter this issue. They have similar structure: a lot of duplicating bytes (
0xFF
) and then updating with few different bytes.file_v1.bin.gz
file_v2.bin.gz
Additional info
Initially reported at https://forum.rclone.org/t/can-t-update-certain-files-with-certain-modtime-on-onedrive/42077
At least one person can reproduce it on another OneDrive Personal account. But not on OneDrive Business.
cc @ncw
Thanks.
The text was updated successfully, but these errors were encountered: