We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

RTS S.'s avatar
RTS S.
Helpful | Level 6
10 years ago

Swift API v2 and filesGetMetadata with a path of "/"

I am calling this from within an Application Context.

So "/" should be my App directory.

Two problems:

1) I get a server error reposponse: 

{"error_summary": "path/malformed_path", "error": {".tag": "path", "path": {".tag": "malformed_path"}}}

2)  When I get this error ... The Swift api fails to deserialize "malformed_path" 

   Called from Files.GetMetadataErrorSerializer:deserialize when it tries to deserialize the "path"

 

  • RTS S.'s avatar
    RTS S.
    Helpful | Level 6

    I also get the error when I try to call filesListFolder with a path of "/"

  • RTS S.'s avatar
    RTS S.
    Helpful | Level 6

    That solved the access problem. Does not make any sense to me ...  

    There is still an error handling problem which causes a fatal exit.

     

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

    What version of the SDK are you using? If it's not up to date, please update it and let us know if you're still seeing this. Thanks!

  • RTS S.'s avatar
    RTS S.
    Helpful | Level 6

    I downloaded a couple of days ago using Cocoa Pods with tag '0.7'

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 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!