Invalid value 81 for parameter type during chunked upload

Comments

2 comments

  • Avatar
    Maksim Stepanenko

    I figured it out - Resumable.js avoids sending very small chunks and makes the last chunk potentially bigger than chunkSize. One can avoid this sutuation by setting forceChunkSize to true in Resumable.js

    It looks like Cloudinary doesn't handle chunks bigger than what was implicitly indicated in the first request, even when the Content-Range header indicates the correct range. Ensuring that the last chunk is smaller than the chunk size avoids the problem.

     

    Thank you,

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi Maksim,

    Thanks for your updates, glad you've found the cause of this.

    0
    Comment actions Permalink

Please sign in to leave a comment.