integration_google icon indicating copy to clipboard operation
integration_google copied to clipboard

Error: "This file is too large to be exported"

Open bardo opened this issue 1 year ago • 2 comments

Which version of integration_google are you using?

2.2.0

Which version of Nextcloud are you using?

29.0.1.1

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

N/A

Describe the Bug

Certain files result in the following error:

{                                                                                                                       
  "reqId": "$REQUEST",
  "level": 2,
  "time": "2024-05-27T09:13:44+00:00",
  "remoteAddr": "",
  "user": "$USER",
  "app": "integration_google",
  "method": "",
  "url": "--",
  "message": "Google API error : Client error: `GET https://www.googleapis.com/drive/v3/files/$FILE/export?mimeType=application%2Fvnd.openxmlformats-officedocument.wordprocessingml.document` resulted in a `403 Forbidden` response:\n{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"This file is too large to be exported.\",\n    \"errors\": [\n      {\n        (truncated...)\n",
  "userAgent": "--",
  "version": "29.0.1.1",
  "data": {
    "app": "integration_google"
  }
}

Expected Behavior

Files are transferred correctly.

To Reproduce

Not sure about repro since I do not know the target file, however I found a few potentially useful references:

bardo avatar May 27 '24 10:05 bardo