While practicing the Pega Infinity 23 CLSA Academy course, I am trying to use the WebEmbed channel for two existing case[Registration and Truck vendor], but both of them throwing 403 Forbidden exception. I have created a new Webembed channel for another existing case [Invoice], however Iam experiencing similar exception. Please see the attached screenshots for error details.
Can anyone please let me know - what I am missing here?
In general, (internet search) a 403 Forbidden Error occurs when you do not have permission to access a web page or something else on a web server. It’s usually a problem with the website itself. The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.
Check your authentication configuration, including the client registration.
The issue is resolved by updating the “URL” of the WebEmbed channel with the pega cloud url for my pega cloud instance.
However, I am facing a different issue for my VM instance now.
Use case#1: Pega Academy instance is being used in VM [VMWare Workstation Pro]
Pega excercise system is installed.
MDC Application is imported.
With the Pega instance which is running within VM, - existing “Partner Registration” and “Vendor Resgistration” Web Embed channel is used to generate Mash up code for these 2 channels.
Web Embed codes are pasted with in the /opt/tomcat/webapps/PASample/case1.html or case2.html
No User portal is getting displayed on the Mash up portal for either of the Web Embed channel. Error is throwing - 401. unable to authenticate “https://localhost.pegalit.net/prweb/”
Use case#2: Pega Academy instance is being used in VM [VMWare Workstation Pro] + Pega Cloud Instance is used
With the Pega instance which is running in Pega Cloud [my Pega cloud instance for Pega Academy], - existing “Partner Registration” and “Vendor Resgistration” Web Embed channel is used to generate Mash up code for these 2 channels.
Web Embed codes are pasted with in the /opt/tomcat/webapps/PASample/case1.html or case2.html
No User portal is getting displayed on the Mash up portal for either of the Web Embed channel. Error is throwing - 401. unable to authenticate “https:///prweb/”
Use case#3: Pega Cloud Instance is used + local Tomcat server
With the Pega instance which is running in Pega Cloud [my Pega cloud instance for Pega Academy], - existing “Partner Registration” and “Vendor Resgistration” Web Embed channel is used to generate Mash up code for these 2 channels.
Tomcat is installed in my local machine [windows]. Tomcat is up and running.
Web Embed codes are pasted with in the /webapps/PASample/case1.html or case2.html
Both the Web Embed channels are working as expected and displaying user form.
Should I raise new query for this issue in the community?
Questions like the ones in this post are not technical issues with the application—they are frequently user errors in that the user has not configured the solution build correctly.