From Dropbox Dash and Dropbox AI to seamless integrations with tools like Gmail, learn how Dropbox makes your day more efficient and easier, and how sci-fi is becoming reality here.
Seems you are using content multipart encoding. That's not applicable to Dropbox API. Raw file content have to be used! Header lines have to be set in the main HTTP header block (other header types are not acceptable in this API - that's why they go in file content).