PDF Files Error
I'm using cloudinary as my default file storage for my django project. If I upload images from my application to cloudinary, I can get to view the uploaded image from the particular object's url. However, if I upload pdfs and I try viewing the uploaded pdf from application, I get the error "This page isn’t working
If the problem continues, contact the site owner.
HTTP ERROR 401"
After I check my cloudinary console, I get to see the pdf has been uploaded but can't view it from my application. Can anyone here help me out
Best Answer
-
Hi @Kwame_Odoom ,
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.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.
There's more information about that available in the documentation also:
I hope this helps!
Best Regards,Wissam
0
Answers
-
Thank you very much. It worked
1 -
Hi, im facing the same problem even though ive already tick the allow pdf box. how to solve this problem?
0 -
I'm encountering this same issue with PDFs on Cloudinary in my Django project. Images load fine, but accessing PDFs returns an HTTP 401 error, even though they appear in the Cloudinary console. It seems to be an authorization or access issue. I’ve run into similar access issues when uploading assets to different platforms. For example, in video editing with CapCut, sometimes specific permissions are needed for exporting high-resolution files or accessing particular effects. Moreover, if you are into capcut video editing then you must know that capprocutapk is providing mod version of the capcut app. Have you tried adjusting any access settings on Cloudinary or setting up secure URLs differently? Any suggestions from others would be really helpful!
0 -
Hi,
Looking at your account settings, you will first need to "Allow delivery of PDF and ZIP files" on your security page here.
Please let me know if this resolves the issue.
Kind regards,
Millie
0