You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Gustavo L.5
9 years agoNew member | Level 1
Can't upload xlsx file to dropbox app
Hi guys, as the title says, I'm unable to upload an xlsx file, I can successfully upload other formats as xls, pdf, ppt, etc. but this gives an error in the moment I'm trying to upload it.
The ...
Gustavo L.5
9 years agoNew member | Level 1
Playing a little more with this I noticed the error is because of some "special" characters in the json sent (specifically the path of the file). So this seems like an encoding issue, when I send a file which contains an 'ó' in the name, it gives this error:
{"readyState":4,"responseText":"Error in call to API function \"files/upload\": HTTP header \"Dropbox-API-Arg\": could not decode input as JSON","status":400,"statusText":"Bad Request"}
but if I change that 'ó' by an 'o' (with no accent) it works well.
I've been playing with contentType parameter in the ajax call but I can't make it work, any ideas?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,883 PostsLatest Activity: 2 hours agoIf you need more help you can view your support options (expected response time for an email or 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!