Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Ashley B.10
5 years agoExplorer | Level 3
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-DB5 years ago
Dropbox Community Moderator
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.105 years agoExplorer | Level 3Hi,
Thanks for the reply, the document is a google document with three lines of text?
Seems abit extreme - Greg-DB5 years ago
Dropbox Community Moderator
Thanks for following up. It's possible it is incorrectly marked, so feel free to contact support for review it.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!