CorruptUploadOpenApiException JottaCloud

What is the problem you are having with rclone?

On rclone move -P localfolderlocation/ encrypted-jotta:folders/folders/ --transfers=(have tried between 3-30 and same problem)
the upload works up to 100% and then gives error " HTTP error 421 (421 Misdirected Request) r
eturned body: "{"code":421,"message":null,"cause":"","error_id":"CorruptUploadOpenApiExcepti
on","x-id":"somenumbers that I don't know what they are"}""

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

rclone v1.64.2

  • os/version: fedora 38 (64 bit)
  • os/kernel: 6.5.7-200.fc38.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.3
  • go/linking: dynamic
  • go/tags: none

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

jottacloud in this case. Haven't tested other at the moment

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

rclone move -P localfolderlocation/ encrypted-jotta:folders/folders/ --transfers=(have tried between 3-30 and same problem)

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[encrypted-jotta]
type = crypt
remote = jottacloud:
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX

[jottacloud]
type = jottacloud
client_id = XXX
client_secret = 
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = XXX
configVersion = 1
device = 
mountpoint = 

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

2023/10/27 00:31:12 ERROR : file.txt: Not deleting source as copy failed: HTTP error 421 (421 Misdirected Request) returned body: "{\"code\":421,\"message\":null,\"cause\":\"\",\"error_id\":\"CorruptUploadOpenApiException\",\"x-id\":\"somenumbers\"}"

this seems to repeat on every failed file.

Similar posts Errors with Jottacloud but not sure if this is me or jotta problem this time.

welcome to the forum,

can you copy a single file and post a full debug log?

<7>DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "move" "-P" "test.txt" "encrypted-jotta:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "test.txt"
<7>DEBUG : Using config file from "/var/home/username/.config/rclone/rclone.conf"
<7>DEBUG : fs cache: adding new entry for parent of "test.txt", "/var/home/shadowtux"
<7>DEBUG : Creating backend with remote "encrypted-jotta:"
<7>DEBUG : Creating backend with remote "jottacloud:"
2023/10/27 00:58:07 DEBUG : test.txt: Need to transfer - File not found at Destination
2023/10/27 00:58:07 DEBUG : test.txt: Computing md5 hash of encrypted source
2023/10/27 00:58:07 DEBUG : test.txt: md5 = 7439c8ece6fcbad4534b2659c4cf333b OK
2023/10/27 00:58:07 INFO : test.txt: Copied (new)
2023/10/27 00:58:07 INFO : test.txt: Deleted
Transferred: 32 B / 32 B, 100%, 0 B/s, ETA -
Checks: 2 / 2, 100%
Deleted: 1 (files), 0 (dirs)
Renamed: 1
Transferred: 1 / 1, 100%
Elapsed time: 0.8s
<6>INFO :
Transferred: 32 B / 32 B, 100%, 0 B/s, ETA -
Checks: 2 / 2, 100%
Deleted: 1 (files), 0 (dirs)
Renamed: 1
Transferred: 1 / 1, 100%
Elapsed time: 0.8s

<7>DEBUG : 12 go routines active

hmm... one file seems to go trough :thinking: but my script that has the stuff I posted above get the error :thinking: I need to test and run it seperately from the script if that's somehow messing with it. This is a new system but old configs and scripts. That worked previously.

I seem to run to same problems by running it seperately :thinking: with 1 transfer.

so far, not able to replicate
i ran this command 4 times, rclone sync d:\files\50files encrypted-jotta: -vv
so a total of 200 files

this also worked.

rclone sync d:\files\5GiB-dest encrypted-jotta: -vv  --progress
2023/10/26 18:45:36 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "sync" "d:\\files\\5GiB-dest" "encrypted-jotta:" "-vv" "--progress"]
2023/10/26 18:45:36 DEBUG : Creating backend with remote "d:\\files\\5GiB-dest"
2023/10/26 18:45:36 DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
2023/10/26 18:45:36 DEBUG : fs cache: renaming cache item "d:\\files\\5GiB-dest" to be canonical "//?/d:/files/5GiB-dest"
2023/10/26 18:45:36 DEBUG : Creating backend with remote "encrypted-jotta:"
2023/10/26 18:45:36 DEBUG : Creating backend with remote "jottacloud:zork"
2023/10/26 18:45:37 DEBUG : 5GiB.7z.001: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.7z.002: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.7z.003: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.7z.004: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.7z.001: Computing md5 hash of encrypted source
2023/10/26 18:45:37 DEBUG : 5GiB.7z.002: Computing md5 hash of encrypted source
2023/10/26 18:45:37 DEBUG : 5GiB.7z.005: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.7z.004: Computing md5 hash of encrypted source
2023/10/26 18:45:37 DEBUG : 5GiB.7z.003: Computing md5 hash of encrypted source
2023/10/26 18:45:37 DEBUG : 5GiB.file: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : 5GiB.file.md5: Need to transfer - File not found at Destination
2023/10/26 18:45:37 DEBUG : Encrypted drive 'encrypted-jotta:': Waiting for checks to finish
2023/10/26 18:45:37 DEBUG : Encrypted drive 'encrypted-jotta:': Waiting for transfers to finish
2023/10/26 18:46:07 DEBUG : 5GiB.7z.002: md5 = 4fd4d2baace1e8e09a28ce6289efe357 OK
2023/10/26 18:46:07 INFO  : 5GiB.7z.002: Copied (new)
2023/10/26 18:46:07 DEBUG : 5GiB.7z.005: Computing md5 hash of encrypted source
2023/10/26 18:46:10 DEBUG : 5GiB.7z.003: md5 = 5b6b963b8bec76184eb8ad0cae243009 OK
2023/10/26 18:46:10 INFO  : 5GiB.7z.003: Copied (new)
2023/10/26 18:46:10 DEBUG : 5GiB.file: Computing md5 hash of encrypted source
2023/10/26 18:46:12 DEBUG : 5GiB.7z.005: md5 = e779371ddfa686bb49b6eb0311f1681a OK
2023/10/26 18:46:12 INFO  : 5GiB.7z.005: Copied (new)
2023/10/26 18:46:12 DEBUG : 5GiB.file.md5: Computing md5 hash of encrypted source
2023/10/26 18:46:12 DEBUG : 5GiB.file.md5: md5 = 14f0e0f61c24401f5bacb798873fcc5f OK
2023/10/26 18:46:12 INFO  : 5GiB.file.md5: Copied (new)
2023/10/26 18:48:06 DEBUG : 5GiB.7z.004: md5 = 4af70c1beddc8eb716e4b6923fd37e6f OK
2023/10/26 18:48:06 INFO  : 5GiB.7z.004: Copied (new)
2023/10/26 18:48:07 DEBUG : 5GiB.7z.001: md5 = e7f7737007f6b42739cc5e2f2d1d6fc6 OK
2023/10/26 18:48:07 INFO  : 5GiB.7z.001: Copied (new)
2023/10/26 18:50:13 DEBUG : 5GiB.file: md5 = 0ba332fbcf8b541fd3c2e6c0a2389848 OK
2023/10/26 18:50:13 INFO  : 5GiB.file: Copied (new)
2023/10/26 18:50:13 DEBUG : Waiting for deletions to finish
Transferred:        7.873 GiB / 7.873 GiB, 100%, 22.338 MiB/s, ETA 0s
Transferred:            7 / 7, 100%
Elapsed time:      4m36.3s
2023/10/26 18:50:13 INFO  :
Transferred:        7.873 GiB / 7.873 GiB, 100%, 22.338 MiB/s, ETA 0s
Transferred:            7 / 7, 100%
Elapsed time:      4m36.3s

Seems like the problem only persisted on that specific folder. Different folders work. Probably I'll just need to move stuff around to fix the problem on that specific folder.

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