Hi all,
For some time now I have not been able to upload my files via the HTTP API.
The file/upload or file/get_temporary_upload_link gives me a 404 error even though it worked perfectly until now.
If I do CURL tests then everything works perfectly, so I suspect an unsupported header. Here is the list of headers on my HTTP request (I use python/requests to do this):
Headers: {'User-Agent': 'python-requests/2.25.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/octet-stream', 'Dropbox-API-Arg': '{"mode":"overwrite","path":"/Sans nom 1.odt","autorename":false,"mute":false,"strict_conflict":false}', 'Content-Length': '473722', 'Authorization': 'Bearer sl.B_3Hk1dv...'}
I'll try adding these headers to CURL to see if that's where it comes from, but I'm interested in any good information.
Thanks.