Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error 404 occurs on refreshing the CoBrowsing page

SA-49790

Summary



Error 404 occurs on refreshing the CoBrowsing page.


Error Messages



Error 404 Not found


Steps to Reproduce

  1. Log in to interaction portal as Customer Service Representative (CSR)
  2. Start a CoBrowse session from Add task
  3. Enter the session code. Co-browsing page displays in the new tab
  4. Refresh that page from the CSR side


Root Cause



A defect in Pegasystems’ code or rules.


Resolution



Perform the following local-change:
  1. Search for pyCobrowsingSessionCreation control file and add the below code at line 10:

    String APIKey = pega_rules_utilities.getDataSystemSetting("PegaAppCA", "CobrowseAPIKey");

    tools.putSaveValue("apiKey", APIKey);

  2. Search for CobrowseSessionManagement file and add the below code at line 22:

if(!session_code) {

session_code = sessionStorage.getItem('sessionCode');

} else {

sessionStorage.setItem('sessionCode',session_code);

}

if(!api_key) {

api_key = sessionStorage.getItem('api_key');

} else {

sessionStorage.setItem('api_key',api_key);

}




Published February 21, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us