Uploads

Errors

Errors that are thrown by this module. Defined by the module author and used to provide more context to the user when an error occurs.

No Files Providedno_files

An upload must have at least 1 file

Too Many Files Providedtoo_many_files

There is a limit to how many files can be put into a single upload (see config)

Duplicate Paths Providedduplicate_paths

An upload cannot contain 2 files with the same paths (see cause for offending paths)

Combined Size Limit Exceededsize_limit_exceeded

There is a maximum total size per upload (see config)

Upload Not Foundupload_not_found

The provided upload ID didn't match any known existing uploads

Upload Already completedupload_already_completed

`complete` was already called on this upload

S3 Not Configureds3_not_configured

The S3 bucket is not configured (missing env variables)

Possibility Of Too Many Chunkstoo_many_chunks

AWS S3 has a limit on the number of parts that can be uploaded in a multipart upload. This limit is 10,000 parts. If the number of chunks required to upload the maximum multipart upload size exceeds this limit, any operation will preemptively throw this error.

Multipart Upload Completion Failuremultipart_upload_completion_fail

The multipart upload failed to complete (see cause for more information)