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

Team F.1's avatar
Team F.1
Explorer | Level 4
9 years ago

Recent Error - Downloading files

We just started getting a bunch of these in the last 24 hrs. We have not changed our code in this regard. I'm curious what this means.

com.foreflight.ForeFlightException: com.dropbox.core.v2.files.DownloadErrorException: Exception in download: {".tag":"path","path":"not_found"}

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

    A path/not_found error like this indicates that there was nothing found at the supplied path for the call. In this case, you tried to download a file from a path that doesn't currently have a file, e.g., the user deleted the file. 

    • kmsbs's avatar
      kmsbs
      Explorer | Level 4
      I have a same issue path not found,but i have file on dropbox.
  • Team F.1's avatar
    Team F.1
    Explorer | Level 4

    Thanks, is this something related as well?

    com.dropbox.core.ServerException: {"error": "The server has either erred or is incapable of performing the requested operation."}

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

    No, that error indicates a general server issue on our side. That should be relatively transient though, so you can have your app automatically retry a few times when encountering that. 

  • Team F.1's avatar
    Team F.1
    Explorer | Level 4

    Is this still valid?
    DbxEntry.File f = DbxClientV1.getFile(path, version, output)

    My understanding is that DbxClientV1 should still work until mid-2017.

    That's giving the message above:  "...incapable of performing the requested operation"

     

     

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

    That's correct, DbxClientV1 uses API v1, which should continue working until June 2017.

    Are you getting that error consistently? If so, please open an API ticket with the app and user ID so we can look into it for you. Thanks in advance! 

  • Team F.1's avatar
    Team F.1
    Explorer | Level 4

    Our code for that area hasn't changed in a while (months), and we just started logging this error 2 days ago. So I don't believe it's faulty paths. Ill open a ticket.

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

    Ok, just to be clear though, you've mentioned two different and unrelated issues:

    1. com.foreflight.ForeFlightException: com.dropbox.core.v2.files.DownloadErrorException: Exception in download: {".tag":"path","path":"not_found"}:

    This indicates that there was nothing found at the path specified for the download API call. This can be expected to start occurring without a code change, e.g., if the user deletes a file via the web site, desktop client, etc. Your app should be prepared to handle this exception.

    2. com.dropbox.core.ServerException: {"error": "The server has either erred or is incapable of performing the requested operation."}:

    This would indicate an error on our side. It can be expected to happen sometimes temporarily, If this is happening consistently though, we'd need a ticket with more information to investigate.

     

  • Team F.1's avatar
    Team F.1
    Explorer | Level 4

    I just added to the ticket but the root cause appears to be a problem with .lcPath (DbxEntry), we are seeing upper-case entries.

    Let me know if the fix is Java client API or if its Dropbox Server side.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,880 PostsLatest Activity: 6 hours 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!