New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when uploading binary files to Dropbox #1048

galfert opened this Issue Oct 26, 2017 · 1 comment


2 participants
Copy link

galfert commented Oct 26, 2017

Looks like the client is using a wrong content-type when uploading. The error response from Dropbox is:

Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "application/json; charset=UTF-8". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".

@galfert galfert self-assigned this Oct 26, 2017

@galfert galfert added this to the 1.0.0 milestone Oct 26, 2017


This comment has been minimized.

Copy link

skddc commented Oct 26, 2017

Then this is not an error with uploading binary files, but setting a content type in general, it would seem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment