Shortcuts: "Save File" action fails with "The file is invalid" when saving camera/converted image

Aperta
#476 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
mobile-dev

Direzione di ricerca

Find the Cryptomator Shortcuts extension implementation, specifically the 'Save File' action handler. Locate where the 'The file is invalid' error is generated and trace the file validation logic. Check how the extension receives files from the Shortcuts app versus how the main app handles file imports. The fix likely involves relaxing file type validation or improving file conversion for camera/converted image inputs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

In the iOS Shortcuts app, the Cryptomator "Save File" action consistently fails with the error "The file is invalid" (Korean: "파일이 올바르지 않습니다") when attempting to save a camera capture or a converted image stream into an unlocked vault folder.

Please agree to the following
System Setup
  • iOS 27.0.1
  • Cryptomator 3.1.3
Cloud Type

Dropbox

Steps to Reproduce
  1. Unlock the Dropbox vault in the Cryptomator iOS app.
  2. In the iOS Shortcuts app, create a shortcut with the following sequence:
    • Action 1: "Take Photo" (Camera)
    • Action 2: "Convert Image" to JPEG
    • Action 3: "Get Folder" from Cryptomator (Vault: Dropbox-Cryptomator, Path: /iPhone-Inbox)
    • Action 4: "Save File" to Cryptomator (Input: Converted Image or direct Photo, Destination: Folder from Action 3)
  3. Execute the shortcut.
Expected Behavior

The image should be encrypted and written to the specified /iPhone-Inbox directory inside the unlocked vault.

Actual Behavior

Action 3 ("Get Folder") executes successfully and returns the folder object, but Action 4 ("Save File") fails immediately with an error banner:

"파일이 올바르지 않습니다." ("The file is invalid.")

Reproducibility

Always

Relevant Log Output

Anything else?
  • The vault was verified to be unlocked and accessible prior to running the shortcut.
  • Passing the raw photo object directly from the camera action results in the exact same failure.
  • Saving files via the standard iOS Files app document picker interface directly into the Cryptomator vault location either grays out or fails to write, preventing standard automation workarounds.
  • Screenshot of the failing shortcut step and the error message is attached.
Lingua principale
Swift
Stelle
295
Fork
42
Merge medio
1h 43m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cryptomator/ios

Tutte le issue di cryptomator/ios

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.