sintaxi / dbox

NodeJS SDK for Dropbox API (THIS LIBRARY IS OBSOLETE!!)
514 stars 91 forks source link

Fix bug: Empty Content-Type in put method #61

Closed mr0re1 closed 11 years ago

mr0re1 commented 11 years ago

Today i catch this bad response from DropBox: "Upload failed. Content-Type must not be empty and not one of (\'application/x-www-form-urlencoded\', \'multipart/form-data\'"

It is my quick fix.

jeremycondon commented 11 years ago

I'm not sure this is an issue with dbox or with Dropbox, I'm looking right now and when I get that error, I also get: authorizationError: 'Hostname/IP doesn\'t match certificate\'s altnames' }, which scares me...

Looks to me like the amazon load balancer they are using is going to the wrong host?

mr0re1 commented 11 years ago

It is very strange, because I not get authorizationError.

jeremycondon commented 11 years ago

I'm going to open a new ticket for the authorization Error.

jeremycondon commented 11 years ago

Looks like this issue was a bug on Dropbox's side. See: https://forums.dropbox.com/topic.php?id=96916

mr0re1 commented 11 years ago

Oh, thanks for the explanation link.

sintaxi commented 11 years ago

thanks gents!