CLSA Academy Excercise WebEmbed Throwing 403 ForbiddenError

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?

AcademyWebEmbedIssue.docx (3.1 MB)

@Chandramouli.M you can find most questions answered on the Pega Academy FAQ pages:

Managing your Pega instance

@eddie.jm can you help?

@MarijeSchillern - I do not have much to add.

@Chandramouli.M,

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.

@eddie.jm

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]

  1. Pega excercise system is installed.

  2. MDC Application is imported.

  3. 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.

  4. Web Embed codes are pasted with in the /opt/tomcat/webapps/PASample/case1.html or case2.html

  5. 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

  1. 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.

  2. Web Embed codes are pasted with in the /opt/tomcat/webapps/PASample/case1.html or case2.html

  3. 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

  1. 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.

  2. Tomcat is installed in my local machine [windows]. Tomcat is up and running.

  3. Web Embed codes are pasted with in the /webapps/PASample/case1.html or case2.html

  4. Both the Web Embed channels are working as expected and displaying user form.

Should I raise new query for this issue in the community?

@Chandramouli.M

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.

Fix common mistakes in challenges and mission exercises

Troubleshooting Tips for Case life cycle design

Please log this as a separate new question so that other Academy students can try to help you with your scenario.