Hi @gustavotroisi,
To protect the security and integrity of our customer accounts, we restrict the ability of new accounts to deliver PDFs and Archive files like .zip or .rar.
It’s always possible to upload and manage those files, and you can download them using our Media Library, but a restriction applies to deliver them publicly and you’ll see an HTTP 401 error in that case.
For PDFs that are uploaded as resource_type: 'image', 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, such as by using the page transformation (pg_ in URLs) and setting the extension to an image format like jpg: https://res.cloudinary.com/demo/image/upload/pg_1/multi_page_pdf.jpg
You can remove this restriction yourself if you’re sure that any PDF or archive files uploaded by your users will be compliant with our policies, by enabling the option in the “PDF and ZIP files delivery” section of your account’s security settings.
Hope that helps.
Best,
Loic