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

Abierto
#476 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
70/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
swift
Área
mobile-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Swift
Estrellas
295
Forks
42
Merge medio
1 h 43 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cryptomator/ios

Todos los issues de cryptomator/ios

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.