Forum Discussion

Sim_one's avatar
Sim_one
Explorer | Level 4
7 years ago

issue while accessing folder path while downloading from folder

Hello,

I am using dropbox api(v2) in my ios objective c project.

I am facing issue while accessing folder named as Peter O'Brien , I tested various cases and it is only becase of having character in the folder name(it works fine otherwise). I have to use this folder name.

I am getting following error, can anyone give me solution on this? Please it is urgent for me.

ERROR:{

    ".tag" = path;

    path =     {

        ".tag" = "not_found";

    };

}

DropboxHttpError[{

    ErrorContent = "path/not_found/";

    RequestId = 39a94fa07696a1b4b7b38d56d1dabb68;

    StatusCode = 409;

    UserMessage = nil;

}];

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report! I just tried this though, and it worked for me. I.e., I was able to call listFolder using the latest version of the official API v2 Objective-C SDK for a folder at "/Peter O'Brien" without issue.

    Are you sure that's the correct path for the folder, and that you're connected to the right account? If you call listFolder for the path "" (i.e., an empty string), you can list the root to check.

    Also, if your app has the "app folder" permission, make sure that folder exists inside the app folder for your app. By default, if the account is set to the English locale, the app folder will be at "/Apps/<app folder name>".

     

    • Sim_one's avatar
      Sim_one
      Explorer | Level 4

      Hi Greg K,

      Thanks for the reply,

      Yes, for some iPads devices it work and for some it does not. All iPads having the same ios version 12.x . I am sure that the folder path is correct.

      If I remove ' in the folder name, it works fine on iPads which are giving this issue.

      Anything else could be the issue?

      Many Thanks,

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 4 hours ago
352 Following

If 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!