Skip to content
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

Onedrive reports 400/404 errors, killing the backup #611

Open
patrickxia opened this issue Oct 26, 2020 · 4 comments
Open

Onedrive reports 400/404 errors, killing the backup #611

patrickxia opened this issue Oct 26, 2020 · 4 comments

Comments

@patrickxia
Copy link

My backups keep failing because of things like:

Failed to upload the chunk x: 400 Bad Request
Failed to upload the chunk y: 404 Item not found

It seems like the OneDrive API returns random 4xxs that aren't fully correct.

Fixing this is just removing the added check here:

} else if response.StatusCode > 401 && response.StatusCode != 404 {

@hulbs9nw
Copy link

I'm getting this also which is making Duplicacy pretty much unusable on OneDrive. To complete my backup I ended up wrapping duplicacy in a loop so it keeps retrying. That seems to have helped with the initial back up but a second revision has left lots of tmp files lying around on OneDrive and when running a duplicacy check it's complaining about missing chunks.

@gilbertchen
Copy link
Owner

This issue has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/onedrive-odb-issue-with-jobs-dying/5019/1

@simonengel
Copy link

I have the same problem. I try to do an initial backup of about 400 GB to ODB and the backup always fails after a few hours. I always get the slightly different but possibly related error:

Failed to upload the chunk x: 400 Unexpected response

@gilbertchen
Copy link
Owner

This issue has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/retry-on-400-errors/6594/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants