Service Portal does not load and throws an error after clone - javascript error in the consoleDescriptionAfter cloning the production instance over the sub production instances, the /sp portal does not load. The homepage fails to load. Upon loading it throws an error message - There is a javascript error in console The console error will be of the format: GET https://XXXXXXX.service-now.com/api/now/sp/page?sysparm_stack=no&time=1629528474289&portal_id=81b75d3147032100ba13a5554ee4902b&request_uri=%2Fsp%3Fsysparm_stack%3Dno 500 (Internal Server Error)XMLHttpRequest.send @ js_includes_sp_libs.jsx?v=07-05-2021_0913&lp=Thu_Aug_19_23_58_38_PDT_2021&c=32_922:16494send @ js_includes_sp_libs.jsx?v=07-05-2021_0913&lp=Thu_Aug_19_23_58_38_PDT_2021&c=32_922:6ajax @ js_includes_sp_libs.jsx?v=07-05-2021_0913&lp=Thu_Aug_19_23_58_38_PDT_2021&c=32_922:6(anonymous) @ js_includes_sp_libs.jsx?v=07-05-2021_0913&lp=Thu_Aug_19_23_58_38_PDT_2021&c=32_922:16539 The /sp portal on production however works as expected.Release or EnvironmentAll supported releasesCauseThis happens if the sp_instance table is added in the clone preservers in the target instance. The widget instances from the source instance is not mapped correctly, and therefore the portal page fails to load. If you navigate to the sp_instance table, and do a Group by - Class, you will see that some instances do not show the correct class name. Correct class name should look like this: For an invalid sp_instance record, it will show as 'label'ResolutionNavigate to the clone_data_preserver tableSearch with sp_instance in the table columnOpen the record and see if any condition with sys_id is added.It should look like this:Open the referring sp_instance record in the source instanceExport as an XMLImport it to the target instance Additional Informationsp_instance & sp_widget should be added as clone preservers