Strange error when uploading multi part file
Hi all,
I am currently using Guzzle to upload a multipart file to box however I am getting a strange error. When I upload the first chunk I get this error: "message":"Part size 1024000 not equal to expected 8388608",
But I checked the header and what I am sending over and it is the right size:
please let me if anyone has any ideas.
-
Hey ,
In the response to the Create Session API call, an expected part size is returned. You have to use that part size for your chunks. I would recommend parsing the JSON response and using the part_size value directly from there when you break up your file.
Hope that gets you going in the right direction!
Thanks,
Jason
サインインしてコメントを残してください。
コメント
1件のコメント