Forum Discussion

anjali_cloudlock's avatar
anjali_cloudlock
New member | Level 2
4 years ago

Download error coming in for malwares

Hi, Sometimes we are also not able to download malware files which we upload for our product.
We are getting following error

409 Conflict b'{"error_summary": "path/restricted_content/...", "error": {".tag": "path", "path": {".tag": "restricted_content"}}}'

Api  used is: https://content.dropboxapi.com/2/files/download

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

    A 'restricted_content' error from /2/files/download means:

    restricted_content Void The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.

    If the file is marked restricted like this, you will not be able to use the Dropbox API to download it.

    • anjali_cloudlock's avatar
      anjali_cloudlock
      New member | Level 2

      Hi,
      Is there any work around to Bypass this restriction or acknowledge and continue download, since this affects the key feature of our product.

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

        No, unfortunately the API does not offer an option to bypass that error.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 4 days ago
217 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!