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

Protondrive: Error 422's & 400's #7266

Open
Gmentsik opened this issue Sep 1, 2023 · 2 comments
Open

Protondrive: Error 422's & 400's #7266

Gmentsik opened this issue Sep 1, 2023 · 2 comments
Assignees

Comments

@Gmentsik
Copy link

Gmentsik commented Sep 1, 2023

          Hi @henrybear327, I really can't thank you enough for your work, having this backend available is a huge deal for me!

I was also getting the "Draft" errors, using the extra config you provided earlier worked however.
Still I'm getting an error, which I don't understand:

422: Datei oder Ordner wurde nicht gefunden. (Code=2501, Status=422)

(I'm also not sure why the error is in German, it means: "File or Folder was not found")

I have executed rclone as follows:

sudo rclone sync -vv --dump=headers /mnt/rhdd1/docker/nextcloud/data/data/gergely/files/23.Savegames proton:23.Savegames > rsync.2.log 2>&1

Here is the full log:

https://drive.proton.me/urls/46FVWE88N8#7C4JtTffwNDJ

My config:

[proton]
type = protondrive
username = gxxx.mxxxx
password = xxxxxx
2fa = 123456
clientUID = xxxx
clientAccessToken = xxxx
clientRefreshToken = xxxxx
clientSaltedKeyPass = xxxxxxx
replace_existing_draft = true

I'd like to move about 2TB of data from nextcloud to proton, I have to make sure that nothing is skipped ofc ...

Update*
When syncing larger files I get this error pretty often:

2023/09/01 11:38:30 ERROR : 97.GoproImport/GH010166.MP4: Failed to copy: 400: Invalid content length (Code=2022, Status=400)
2023/09/01 11:38:30.463962 ERROR RESTY 400: Invalid content length (Code=2022, Status=400), Attempt 2

Originally posted by @Gmentsik in #6072 (comment)

@henrybear327
Copy link
Member

henrybear327 commented Sep 5, 2023

Hey @Gmentsik,

May I ask you to supply a new log file? :) The link doesn't work anymore.

Thank you!

@poaudet
Copy link

poaudet commented Nov 17, 2023

#7407
might be related

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

No branches or pull requests

4 participants