I am trying to use BI publisher as the printing server on my APEX app, but when I try to use the generated link (f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=COUNTRY%20INFO) on a button it does not work and gives a error as "Contact your application administrator. Details about this incident are available via debug id "4162"." but the debug log doesn't show any errors, however the report gets printed fine when i click the test report button in "Shared Components/Report Queries/Edit" tab. I can't find the mistake here
I use oracle apex 22.0 on Oracle 21c xe locally, BI publisher server is also setup locally
I tried the link with different buttons in different pages but still it doesn't work