Hi
I'm trying for the first time to upload a file through the https://upload.box.com/api/2.0/files/content endpoint and I receive the error code 400 but unlike other times that I've received this error code in other situations there is no detailed error description, the response body is empty.
So here's a postman echo of my request to the endpoint and everything seems in accordance to the request expected from me in the API reference:
{
"args":{},
"data":{},
"files":{},
"form":{
"attributes":"{\"name\":\"test.txt\",\"parent\":{\"id\":\"0\"}}",
"file":"abcabcabcabc"
},
"headers":{
"x-forwarded-proto":"https",
"host":"postman-echo.com",
"content-length":"333",
"accept":"application/json",
"authorization":"Bearer -my-access-token-",
"content-type":"multipart/form-data; boundary=8852ffe181cba29a5d03262026ad7e34db1ebed6",
"user-agent":"GuzzleHttp/6.3.3 curl/7.51.0 PHP/7.1.1",
"x-forwarded-port":"443"
},
"json":null,
"url":"https://postman-echo.com/post"
}