cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Can't not upload file name in UTF8

Can't not upload file name in UTF8

TrÆ°Æ¡ng K.
New member | Level 1
https://content.dropboxapi.com/2/files/upload_session/finish


When i upload a nomal file (ascii character), it success.

But when i upload a file with name such as å‰² (in utf8)

The response is  400 bad request.

I think the header in httprequest of dropbox api server is accept only ASCII encoding.
Can you fix it?
Thankyou.

4 Replies 4

Steve M.
Dropbox Staff

Your JSON needs to be encoded in a way that's compatible with HTTP headers.

(E.g. "\u5272" instead of "割")

What programming language are you using? The way to do this varies from language to language.

TrÆ°Æ¡ng K.
New member | Level 1

oh thankyou

TrÆ°Æ¡ng K.
New member | Level 1

I'm using C# but hate that lib httprequest or public lib dll in c#.
I can't show speed upload and request to dropbox server too slow (300-700ms per request).

Then I make httprequest via tcpclient for caculate speed.

Greg-DB
Dropbox Staff

Thanks for the feedback! I've sent it along to the team.

Need more support?