Released Pack: Google Drive Extra

No worries! Increasing that limit doesn’t seem ideal, 4 MB is pretty high already for a single request. The solution should be for Coda to download the file in chunks but I can’t find any way for it to happen inside the pack.

I had some hope when I found this section in Coda’s documentation on private images which lets us feed an entire URL to Coda’s blob creator. But it seems it doesn’t do chunking either, instead trying to download the whole thing in one go, thus giving us the same error

Formula DownloadDriveFile failed: 13 INTERNAL: FetchError: content size at https://www.googleapis.com/drive/v3/files/1o-jIfjt...?alt=media over limit: 4194304

4194304 bytes = 4 MiB = 4.19 MB

I think our best bet is to ask if Coda could make this function download content in chunks to match the workspace file size limit:

context.temporaryBlobStorage.storeUrl
1 Like