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.
The 'restricted_content' error is expected when attempting to access files that have been restricted, e.g., due to copyright claims, per the documentation: