New accounts on Cloudinary's free plan are restricted from delivery of PDFs and Archive files like ZIP or RAR by default
It's possible to upload and manage those files, and possible to download them using our Media Library, but a restriction applies to delivering them publicly for download.
Media Library errors
Trying to deliver these resources via public delivery URLs while the restriction is in place will result in an HTTP error response, or a popup in the Media Library.
Assets may also be listed as "Blocked for delivery" in the asset details tab
HTTP header errors
When trying to access a restricted file via a public delivery URL, you may encounter a related error in the HTTP response body or the x-cld-error HTTP response header
Depending on the workflow and whether your account's errors are shown or hidden for security purposes, you may see errors like: "Resource not found" or "Deny or ACL error" when trying to request the asset's URL.
Alternate workflows
For PDFs that are uploaded with the "image" Resource type it's possible to use those PDFs with our transformations features, so you can convert the PDFs to another image format and deliver them that way.
You can also download files for your own use from the download links inside the Media Library
Removing the limitation
In order to remove the restriction, please log in to your Cloudinary account, and check the 'Allow delivery of PDF and ZIP files item in the "PDF and ZIP files delivery" section of the Product Environment's Security settings page.
After saving the settings, you'll be asked to confirm your responsibility for all delivered assets being compliant with Cloudinary's terms of service.
Video walkthrough
This short video demonstrates the process:
You will be able to access the URL of PDF files publicly and via your website or application after this setting has been changed and the terms accepted
If you've already encountered 404 errors trying to access PDF/Archive files while the account was untrusted for PDF/Archive delivery, you may need to wait for the CDN cache of the error to clear first, and may also need to clear your local browser cache.
Comments
2 comments
i did this but still this is not working for me. I am able to upload pdf on my cloudinary account but can not share this with any one
Hey there.
is PDF sharing only for paid accounts?
Please sign in to leave a comment.