Hi,
I recently started having issues uploading files to dropbox via API. The error returned is
HTTP/1.1 400 Bad Request
The output via curl is as below
* using HTTP/1.x
> POST /2/files/upload HTTP/1.1
Host: content.dropboxapi.com
Accept: */*
Authorization: Bearer MyBearerToken
Dropbox-API-Arg: {
"path":"file_to_upload",
"mode":"add",
"autorename": true,
"mute": false,
"strict_conflict": false
}
Content-Type:application/octet-stream
Content-Length: 1130353
Expect: 100-continue
< HTTP/1.1 400 Bad Request
< Content-Length: 1005
< Content-Type: text/html
< Vary: Accept-Encoding
< X-Dropbox-Response-Origin: local
< Date: Sat, 10 Feb 2024 10:02:13 GMT
< Server: envoy
< Connection: close
* Closing connection
Anybody know what could be happening?
Thank you in advance