Follow

Invalid request: Short chunk

When attempting to upload data to the server the client receives an error that states “Invalid request: Short chunk”

This issue can occur due to the following reasons:

A file is added to the upload queue then is renamed, moved, deleted or access has been lost to the file when the client attempts to start the upload queue then the error will be

/path/to_filename.on.server Invalid request: Short chunk [0]: 1048576 > 0

A file that is currently being uploaded and is renamed, moved, deleted or access has been lost the file then the error will be

/path/to_filename.on.server  Invalid request: Short chunk [10]: 1048576 > 0

-Short chunk [10]: the 10 is at what byte of data access was lost.

Browsers have limited file control and do not lock files at the file system level when they are being uploaded. This allows for the files to be managed (moved, renamed or deleted) during the upload which will then create this error.

To resolve this issue:

When a file is added to the upload queue do not attempt move, delete or rename the file until the upload has completed.

If the client is accessing data from a network share, copy the data to the local machines hard drive then upload from the local machines hard drive.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.