Ordering Catalog item getting stuck at "submitting..." in Service Portal (Invalid Request 404 error on the console)Issue Unable to submit the catalog item on Service Portal intermittently. When pressing the SUBMIT button, it sometimes gets stuck on "Submitting...", not changing to "submitted" and not creating a new ticket (INCIDENT / RITM). While reproducing the issue, on the session debug, we have observed below log, 14:55:09.504: [DEBUG] sn_sc: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Stringlog14:55:09.506: Root cause of JavaScriptException: com.glide.rest.service.custom.errors.ScriptableNotFoundError JavaScript evaluation error on: (function process(/*RESTAPIRequest*/ request, On the node log level, we have observed below exception, 2019-08-28 15:55:41 (276) API_INT-thread-430 6609D9E1FFEBF38064F49C130990EDD7 txid=8a0b11e1ffef *** Start #491037 /api/sn_sc/v1/servicecatalog/items/<sys_id_of_cat_item>/order_now, user: xxxxx2019-08-28 15:55:41 (339) API_INT-thread-430 6609D9E1FFEBF38064F49C130990EDD7 txid=8a0b11e1ffef SEVERE *** ERROR *** Root cause of JavaScriptException: com.glide.rest.service.custom.errors.ScriptableNotFoundError ReleaseIssue observed on London release and it can happen on any supported release.CauseThe issue seems to be caused by the fact that in a onchange catalog client script, checkbox variable was set with boolean value false instead of sting value "false".Due to this typecast error was happening on the request which eventually throws 404 error and not allowing the user to submit the record. Following line of code shows the problematic variable assignment, g_form.setValue('chkbxvariable', false);Resolution Update the client script in such a way that check box variable is set with a string value as below instead of a boolean value, g_form.setValue('chkbxvariable', "false"); Related LinksApart from the cause detailed in this article, the same issue can also occur due to another cause detailed in KB0687096.