# CorruptUploadOpenApiException JottaCloud

**URL:** <https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565>\
**Category:** Help and Support\
**Created:** [October 26, 2023, 9:34pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565 "2023-10-26T21:34:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venture0022](https://forum.rclone.org/letter_avatar_proxy/v4/letter/v/76d3ee/32.png) [@Venture0022](https://forum.rclone.org/u/Venture0022)\
**Post date:** [October 26, 2023, 9:34pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/1 "2023-10-26T21:34:34Z")

</div>

#### 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`)

```auto
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.

```auto
[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

```auto
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](https://forum.rclone.org/t/errors-with-jottacloud/31331) but not sure if this is me or jotta problem this time.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [October 26, 2023, 9:44pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/2 "2023-10-26T21:44:30Z")

</div>

welcome to the forum,

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

---

<div class="post-metadata">

**Author:** ![Venture0022](https://forum.rclone.org/letter_avatar_proxy/v4/letter/v/76d3ee/32.png) [@Venture0022](https://forum.rclone.org/u/Venture0022)\
**Post date:** [October 26, 2023, 10:10pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/3 "2023-10-26T22:10:03Z")

</div>

\<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 🤔 but my script that has the stuff I posted above get the error 🤔 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.

---

<div class="post-metadata">

**Author:** ![Venture0022](https://forum.rclone.org/letter_avatar_proxy/v4/letter/v/76d3ee/32.png) [@Venture0022](https://forum.rclone.org/u/Venture0022)\
**Post date:** [October 26, 2023, 10:14pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/4 "2023-10-26T22:14:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [October 26, 2023, 10:43pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/5 "2023-10-26T22:43:13Z")

</div>

> [@Venture0022](#):
>
> `encrypted-jotta`

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [October 26, 2023, 10:50pm UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/6 "2023-10-26T22:50:51Z")

</div>

this also worked.

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Venture0022](https://forum.rclone.org/letter_avatar_proxy/v4/letter/v/76d3ee/32.png) [@Venture0022](https://forum.rclone.org/u/Venture0022)\
**Post date:** [November 9, 2023, 12:14am UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/7 "2023-11-09T00:14:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [November 12, 2023, 12:14am UTC](https://forum.rclone.org/t/corruptuploadopenapiexception-jottacloud/42565/8 "2023-11-12T00:14:52Z")

</div>

Closed on November 12, 2023, 12:14am UTC

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