Skip to content Skip to sidebar Skip to footer

Gas: "internalerror: Array Length Exceeds Supported Capacity Limit."

I'm running URLFetchApp Requests to an Amazon S3 Server to pull Audio Files and relocate them to Google Drive. The HTTPResponse comes back in XML format. I run the following code t

Solution 1:

How about this answer? 50 MB is 52,428,800 bytes. At Google Apps Script, there are the limitation of the size of blob. The maxmum size is 52,428,800 bytes. So in your situation, such error occurs. In your situation, you download such large file. When you download it, how about using the following methods?

  1. Use partial download by range.
  2. Use a library for downloading large files from URL.
    • This library uses the partial download.

References:


Post a Comment for "Gas: "internalerror: Array Length Exceeds Supported Capacity Limit.""