Exporting PDF with WHTP on a homepage with a UI Script calling non-existent CSS file fails with "ContentNotFoundError"Description When starting to print a page, it returns "Export failed. An unexpected error has occurred. Please see the instance logs for more details". The localhost shows the error "Exit with code 1 due to network error: ContentNotFoundError: no thrown error" Steps to Reproduce Ensure that the Webkit HTML to PDF plugin is activated. For more information, see the documentation topic Activate a plugin. Login/Impersonate Demo or a user existing on the system (maint will not work on some cases). Check the homepage can print correctly using the Export to PDF () button. Create a new global UI Script with the following code: --script----//Setup the event listener document.addEventListener("DOMContentLoaded", function(event) { jQuery("head link[rel='stylesheet']").last().after( '<link href="3ac5cdc12bd8c60052ec3ea3b4da1509.cssdbx?" rel="stylesheet" type="text/css" />' );});--script---- Try to print the homepage using the Export to PDF button. Export fails with "Export failed. An unexpected error has occurred. Please see the instance logs for more details" The localhost shows: "Exit with code 1 due to network error: "ContentNotFoundError: no thrown error". NOTE: The browser will show a call HTTP 404: Not found to /3ac5cdc12bd8c60052ec3ea3b4da1509.cssdbx Workaround To print homepages using Export to PDF, fix and/or remove a broken link from your home pages, for example, deactivate the UI script loading the missing CSS style sheet. Related Problem: PRB1073171