Forum Discussion

Ashley B.10's avatar
Ashley B.10
Explorer | Level 3
6 years ago

Export API

I've been looking at the current API https://www.dropbox.com/developers/documentation/http/documentation#files-export and was wondering if you could help

 

I assume this the endpoint I used to export Google Docs, Sheets etc?

 

I get the following error:

path/restricted_content/
 
I have the header Dropbox-API-Select-Admin set with the team admin id
Dropbox-API-Arg header set with {"path":"id:MY_FILE_ID"}
 
Am I missing something?
Thanks

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    That's correct, that's the endpoint you should use for exporting the content of files that can't be downloaded in the normal way, like cloud-hosted docs such as Google Docs.

     

    That 'path/restricted_content/' error indicates that the file you're requesting has been flagged as restricted (e.g., for malware, DMCA, etc.). If you believe that the file has been incorrectly flagged, contact support for help:

    https://www.dropbox.com/support

  • Ashley B.10's avatar
    Ashley B.10
    Explorer | Level 3
    6 years ago
    Hi,
    Thanks for the reply, the document is a google document with three lines of text?

    Seems abit extreme
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    Thanks for following up. It's possible it is incorrectly marked, so feel free to contact support for review it.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!