Welcome to the new Box Support website. Check out all the details here on what’s changed.

"code":"request_size_mismatch","message":"Request body size didn't match Content-Length 60"

New post

Comments

1 comment

  • Peter Christensen

    Hi Sandip

    I think you get the error message because you are including the 'Content-length' header in your request and it doesn't match the size. You shouldn't have to include this header. See https://developer.box.com/reference/post-files-upload-sessions for required headers and request body. Try to remove it and see if that solves your problem

    Rgds,

    Peter Christensen, Platform Solutions Engineer, Box

    0
    Comment actions Permalink

Post is closed for comments.