Question


Capgemini
ES
Last activity: 14 Feb 2025 4:04 EST
Issues with Pega Web Embed
Hi All,
I am facing this issue when load my web embed on a web (localhost), Any idea how to fix it?
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 27 Jun 2024 14:21 EDT


Pegasystems Inc.
PL
@danielg0987 can you please check if your authenticated user has PegaRULES:PegaAPI role?


Lantiqx Systems India Private Limited
IN
Hi @danielg0987
- This error is likely occurring because the response from the server is not valid JSON
- Verify that the URL you are requesting is correct and that the server is set up to handle requests at that endpoint.
- If your localhost environment is having issues with CORS, make sure the server is configured to allow requests from your development domain


Pegasystems Inc.
IN
@danielg0987 - Verify the redirect_uri in Oauth registration and in the URL before embed/auth.html if you found any version number remove that value and verify the issue.
c11n/<Version>/embed/auth.html
replace
c11n/embed/auth.html
Thank you.


Capgemini
ES
@Priyanka Boga- i was able to trace the issue and i found this error, do you have any idea how to fix it? I am using custom bearer authentication and mapping it to an operator with Guest role
Accepted Solution
Updated: 27 Jun 2024 14:21 EDT


Pegasystems Inc.
PL
@danielg0987 can you please check if your authenticated user has PegaRULES:PegaAPI role?


Rabobank
NL
@Kamil Janeczek I am also facing the same issue in pega webembed, I also have the role added in the authenticated user, but still i am getting the json error in the webpage.


Pegasystems Inc.
IN
@danielg0987 - Can you verify whether the ConstellationAppStatic DSS url is set properly. Please follow below link. In admin studio we will have the proper url settings under system settings. Filter by constellation.
Thank you.
Updated: 7 Feb 2025 8:32 EST


Rabobank
NL
@danielg0987 Is your issue fixed? I also see the same error in the tracer for web embed. If your issue is fixed, then what did you do to fix it


Capgemini
ES
Hi @PrasannaP4970,
Please check that the Access Group that uses the Web Embed has the PegaRules:User4 and PegaRules:PegaAPI Roles, that worked for me.