The decryption fails after multiple retries. It is suspected that the downloaded attachment is wrong. How do I re-download the attachment that failed to decrypt? Thank you

The decryption fails after multiple retries. It is suspected that the downloaded attachment is wrong. How do I re-download the attachment that failed to decrypt? Thank you

image

You can’t force a download of just one item, you’d need to clear you local profile and re-sync everything.

Is it possible to optimize the decryption function of Joplin, and automatically download the decrypted data again after multiple decryption failures. Thank you

No because that shouldn’t happen - either the file is downloaded successfully, or it’s not and the download will be retried later on. But if the server sends corrupted data, there’s no amount of retrying that could fix all the issues that could happen. Also you didn’t attach a log so it’s not sure that the file is actually corrupted, maybe it’s a different issue.

If you know what files these are, you could delete them directly from the sync target (search for the resource ID.md) and then re-attach them to the note and sync again.