Hi All,
I am using Ultimate PDF (PrintToPDF) in Outsystems ODC. The file is converted to PDF and downloaded However the downloaded file displays "403 Forbidden. You don't have permission to access this resource" and no other expected content. It's a very basic piece of code to convert to PDF and download the same.
Can someone help here with a sample piece of code? A sample oml will help. I am looking at examples in the forge but in vain. I have attached the PDF (TestPDF) generated.
Kindly help soon. Need to know what I am missing on.
Could you please check if "ThisURL" is accessible directly in your browser, including (incognito mode) ?
Hi Siya.
Thanks for your reply. Yes I can open my URL (ThisURL) in my Chrome Browser as well as Incognito.
Also, the permission and accessibility is for everyone.
I am clueless. Can share some more info and suggestions
Hi Jyoti,
could you check the role that are given to the screen that you are redirecting to.
The screen should be anonymous to be accessed. For more info about the component you can refer to :
https://github.com/OutSystems/UltimatePDF-ExternalLogic
I encountered same issue when I enabeled IP filters.
Do you use IP filters?
It seems that access to the internal REST API is denied when ip filters is enabled.
Therefore, it become 403 Forbidden when an HTTP request from the headless browser included in Ultimate PDF occurs.
But I don't know how to allow internal REST API calls when IP Filter is enabled.
Does anyone know how to do that?