
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 06:34 PM
Hi team, I was testing upload files from a bot account to a space, the file contents are some of our testing builds (msi, apk), and when I upload it in script, it tells me that the file is too large. I understand this limitation is designed to protect us from mis-usage and avoid large traffic. My question is: do we have other solutions to send a file at size of (200MB to 400MB), or how can I escalate my Bot account so that I can pass the file size check.
Thanks!
{"message":"Maximum upload size of 104857600 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (287019384) exceeds the configured maximum (104857600)","errors":[{"description":"Maximum upload size of 104857600 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (287019384) exceeds the configured maximum (104857600)"}],"trackingId":"ROUTER_62BCFC87-18DC-01BB-1C74-0AFE49B11C74"}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 11:10 PM
Message attachments are limited to 100MB each as you're already aware, so AFAIK there is no other possible solution to send large file attachment. Moreover, as per the list of supported file types and extensions (as given below), I'm not sure if you'll be able to upload msi, apk file:
- Microsoft Word (doc, docx)
- Microsoft Excel (xls, xlsx)
- Microsoft PowerPoint (ppt, pptx)
- Adobe Portable Document Format (pdf)
- JPEG (jpg, jpeg)
- Windows Bitmap (bmp)
- Graphics Interchange Format (gif)
- Portable Network Graphics (png)
When you say - "how can I escalate my Bot account so that I can pass the file size check. ", do you mean how to check file size programmatically? If yes, then here is an example to do it in python: https://www.geeksforgeeks.org/how-to-get-file-size-in-python/, you probably can look for alternatives as per the language of your choice.
Best regards,
Rudrakshi Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2022 10:18 AM
I had the same problem due to this limitation, if you have full control of the data you are sending (like a csv, excel) you can split the files or send a link and it them in a cloud storage
A not so technical solution to a technical limitation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 11:10 PM
Message attachments are limited to 100MB each as you're already aware, so AFAIK there is no other possible solution to send large file attachment. Moreover, as per the list of supported file types and extensions (as given below), I'm not sure if you'll be able to upload msi, apk file:
- Microsoft Word (doc, docx)
- Microsoft Excel (xls, xlsx)
- Microsoft PowerPoint (ppt, pptx)
- Adobe Portable Document Format (pdf)
- JPEG (jpg, jpeg)
- Windows Bitmap (bmp)
- Graphics Interchange Format (gif)
- Portable Network Graphics (png)
When you say - "how can I escalate my Bot account so that I can pass the file size check. ", do you mean how to check file size programmatically? If yes, then here is an example to do it in python: https://www.geeksforgeeks.org/how-to-get-file-size-in-python/, you probably can look for alternatives as per the language of your choice.
Best regards,
Rudrakshi Srivastava

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 11:52 PM
Thanks, good to know the limitation was documented, if there were no way to bypass the limitation, I'll seek for another solution.
