Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello
I am piping users request to /upload api endpoint. The file is saved properly, however I can't seem to handle server's response.
As you can see from the picture below, my (probably naive) approach ends up in unreadable sequence of characters. Am I missing something here?
Thanks
maybe the reply from DropBox is gzip or deflate compressed? look for the "Content-Encoding" header in the REQUEST youre making. Though not really sure what is up with node pipes maybe its so low level you have to do your own http parsing or something. But in general read the request and response headers to help figure out whats going on.
if thats right then just stop the "Accept-Encoding" header from sending to dropbox when you make the request. You must be sending that already to get a compressed response. Avoiding sending thatll make the reply normal and not globelgook.
Thanks! I will dig into this
Thanks for the answer, if nothing helps I will resort to SO
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!