Hi there 👋
At Apideck we're building a Unified API for file storage providers such as Box, OneDrive and Dropbox. Our solution runs on AWS Lambda, and Lambda has a request body limit of 6MB. Other serverless providers such as Google Cloud have similar limits.
For small files (<6MB) we use the direct upload API, no issues there. For >6MB files we have to use upload sessions, as Lambda can only handle 6MB per request. Unfortunately we can't use the Box upload sessions API because it only supports files larger than 20MB. In addition, file chunks in a Box upload session are always 8MB, which is also above the lambda limit.
Because of these limits we can't support uploading >6MB files to Box at the moment. We already support a number of other providers such as Google Drive, OneDrive and Dropbox.
Could these limits be removed or lowered? I imagine other serverless users run into the same issue. Alternatively, is it possible to change these limits on a per-customer basis?
https://docs.apideck.com/apis/file-storage/reference#tag/Upload-Sessions
https://docs.apideck.com/apis/file-storage/reference#operation/filesUpload
