The issue is likely missing key values for the file part of the form data. The Box API requires the "name" and "filename" keys.
name="file"; filename="myfile.pdf"
This is not mentioned in the API reference but is shown in the following article:
https://developer.box.com/guides/uploads/direct/file/
It is also referred to in the following thread: