114
Views
4
Comments
403 Forbidden. You don't have permission to access this resource -  UltimatePDF
Question

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. 

PDFCode_3.PNG
PDFCode_1.PNG
PDFCode_2.PNG
TestPDF.pdf
2019-01-07 16-04-16
Siya
 
MVP

Could you please check if "ThisURL" is accessible directly in your browser, including (incognito mode) ?

UserImage.jpg
Jyoti Tawde

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



2024-07-09 07-02-02
Mukul Singh Nathawat

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

UserImage.jpg
Takeo Suzuki

Hi Jyoti,

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?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.