accessing pdf files

winston
winston Member Posts: 4

Hi, im new to the use of cloudinary. so im using it for my nextjs 14 website that is able to handle basic crud operations. im facing a problem where i cant access the pdf file and it says

Error

Failed to load PDF document.

in the url of the saved file. ive already tick the box that allows me to upload pdf and zip file. why is it still not working? please help

Tagged:

Answers

  • Vdeub
    Vdeub Member, Cloudinary Staff Posts: 78

    Hi @winston,

    I see you have 1 PDF in your account and it is working properly for me.

    Can you please retry and let me know if it is still not working? If this is not working please share the PDF URL.

    Thanks,

    Loic

  • winston
    winston Member Posts: 4

    its working fine for me in mobile but when i try to copy paste the url to my pc this appear

    https://res.cloudinary.com/dpeqdx5ki/image/upload/v1730282943/shipment-documents/fzw6yykzcmm80w2qyzvq.pdf

    this is the url btw thankyouu for replying

  • Vdeub
    Vdeub Member, Cloudinary Staff Posts: 78

    Hi @winston,

    This is weird, would you have any errors in the console? If you clear your cache, try in Incognito mode or another browser, do you still get the issue?

    Thanks,

    Loic

  • winston
    winston Member Posts: 4

    wait its suddenly working now. thankyouu

  • Vdeub
    Vdeub Member, Cloudinary Staff Posts: 78

    Hi @winston

    It must have been a stale CDN config, I refreshed it earlier so that's certainly why it is working.

    Loic