cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Umlauts in file names

Umlauts in file names

Klaus A.
Helpful | Level 5

Hi, I am using the v2 API for http. What I found is that if a file or folder name contains a special character, like a German Umlaut like ä, I get a 400 error on upload and download. Is this a bug? 

During download the response text is "Error in call to API function "files/download": HTTP header "Dropbox-API-Arg": could not decode input as JSON".

During upload the response text is "Error in call to API function "files/upload": HTTP header "Dropbox-API-Arg": could not decode input as JSON".

 

Seems like there's a bug in the JSON.parse() function on DropBox's side. The same JSON stringified text with an umlaut in the file name will parse just fine in the browsers I tested.

 

 

11 Replies 11

Abhishek3881000
New member | Level 2

Is there any way to do the same in java. 

My folder name "Å,å,Æ,æ,Ø,ø"  would be replaced with  what string?

I would appreciate any reply.

 

 

 

Greg-DB
Dropbox Staff

@Abhishek3881000 Here's an example of how you might do this in Java, using Jackson:

JsonFactory f = ...
JsonGenerator g = f.createGenerator(...);
g.setHighestNonEscapedChar(0x7E);

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Abhishek3881000 New member | Level 2
  • User avatar
    mi2 New member | Level 2
What do Dropbox user levels mean?