Resumable upload randomly returns Error: write EPIPE

Hi Postman community,

I am calling an API that has a resumable upload endpoint. I am uploading a somewhat large file (around 130 MB) and decided to upload it in chunks of 5 MB. I use Content-Range header to specify the range of each chunk, and use the Content-Length and set it to 5 MB.

The issue I have is that most of the time I receive a 202 Accepted status, which is expected, but sometimes one chunk will fail with below error:

Error: write EPIPE

I am not sure how to troubleshoot this further because the same chunk will work sometimes. Please advice on ways to debug this issue.

Thank you,

1 Like