Click here to Skip to main content
16,020,114 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I use rest api "https://www.googleapis.com/drive/v3/files/fileId/export?mimeType=vnd.openxmlformats-officedocument.wordprocessingml.document" reference page
to get google Doc

I have document when the exported document file size ~ 5 MB i had the json error :

{
  "error": {
    "errors": [
      {
        "domain": "global",
        "reason": "exportSizeLimitExceeded",
        "message": "This file is too large to be exported."
      }
    ],
    "code": 403,
    "message": "This file is too large to be exported."
  }
}


When the exported document file size < 5 MB the file exported successfully, My problem in exported document file size > 5 MB

Is there any way to fix this error?

What I have tried:

Used rest api "https://www.googleapis.com/drive/v3/files/fileId/export?mimeType=vnd.openxmlformats-officedocument.wordprocessingml.document"
Posted
Updated 7-Dec-16 10:49am

1 solution

seems like there's a real limition by google and just could be soled by workarounds.

Can't download/export a large Google Docs document as PDF (what are the limits on Google Drive?) - Web Applications Stack Exchange[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900