I get the error when I download some file types (for example apk, zip, ecc). The strange thing is that some files apk downloads them while others do not, even with the same name.
I use Dropbox.api in .net application.
The 'restricted_content' error is expected when attempting to access files that have been restricted, e.g., due to copyright claims, per the documentation:
https://www.dropbox.com/developers/documentation/http/documentation#files-download
If you believe the files have been incorrectly flagged, please report them to support to review:
https://www.dropbox.com/support