Configuring the Helix DAM file upload limit

By default, Helix DAM users can upload a maximum of 127 files (assets) at once. This limit helps to prevent the Helix DAM server from running out of resources, which can lead to server errors.

If a user tries to upload more than the number of files allowed, the upload action is blocked and an error message is displayed showing the maximum number of assets that can be uploaded. In this situation, the user can reduce the number of files to upload and perform multiple uploads to complete the task.

If your server can handle uploading more files at the same time, you can increase the file upload limit in the backend section of the /var/opt/hth/shared/hth.json configuration file. See Helix TeamHub configuration.

Tip

You can also configure the maximum total size of files (assets) Helix DAM users can upload at once. To learn more, see Configuring the Helix DAM upload size limit.

Configurable values for maximum file upload limit

To change the upload limit, modify the multipart_file_limit and multipart_total_part_limit configurable values in the backend section of the configuration file. These values work together to set the file upload limit.

  • multipart_file_limit: Set to the required maximum file limit plus 1.

  • multipart_total_part_limit: Set to twice the multipart_file_limit configurable value.

Important

Do not set the configurable values to 0 for unlimited. If you set the values to unlimited and then attempt to submit assets using the commit API, the call might fail.

For examples of setting upload limits, see Examples.

For information about how to view the current configuration settings and update configurables, see Helix TeamHub configuration.

Examples

Setting a maximum of 63 files

To set a maximum upload limit of 63 files at once, specify the following values:

  • "multipart_file_limit": "64"

  • "multipart_total_part_limit": "128"

Setting a maximum of 128 files

To set a maximum upload limit of 128 files at once, specify the following values:

  • "multipart_file_limit": "129"

  • "multipart_total_part_limit": "258"

Setting a maximum of 2047 files

To set a maximum upload limit of 2047 files at once, specify the following values:

  • "multipart_file_limit": "2048"

  • "multipart_total_part_limit": "4096"