Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File downloads return JSON error as file content #3

Closed
simonbru opened this issue May 15, 2018 · 1 comment
Closed

File downloads return JSON error as file content #3

simonbru opened this issue May 15, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@simonbru
Copy link

Downloading files seems to work, but I get the following as the file content:

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "fileNotExportable",
    "message": "Export only supports Google Docs."
   }
  ],
  "code": 403,
  "message": "Export only supports Google Docs."
 }
}

This seems to happen with files that don't need conversion (such as zip or png files I just uploaded).
I get different results when downloading files created on Google Docs. Documents, sheets and drawings work fine. However with presentations I get a seemingly corrupted file, which libreoffice impress can repair and open after manually cutting the first bytes from the file.

Nextcloud version: 13.0.2 using the 13.0-apache docker image

@NastuzziSamy NastuzziSamy added the bug Something isn't working label May 15, 2018
@NastuzziSamy NastuzziSamy self-assigned this May 15, 2018
@NastuzziSamy
Copy link
Owner

Hey, thanks for your feedback @simonbru

It is fixed now in the v0.2.2 (available in the appstore) 1402013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants