Using the box API, I am trying to upload a file using the curl
curl -X POST https://upload.box.com/api/2.0/files/content \
-H 'Authorization: Bearer " '
-H "Content-Type: multipart/form-data" \
-F attributes='{"name":"Photo.jpg", "parent":{"id":"11446498"}}' \
-F file=@
I am receiving the following error:
{"code":"bad_request","help_url":"http://developers.box.com/docs/#errors","status":400,"message":"non-file POST form-data field exceeds set limit of 1000000 bytes"}
Why does it say that the limit is 1MB?
In the box api documentation says that the file has to be less than 50MB and my file has about 5MB
Thanks.