Not able to submit catalog item in service portal getting "Something went wrong.."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2024 05:50 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2024 06:21 AM
@Diksha R Please check if your catalog item has an onSubmit client script which is crashing due to some reason. You can also check the browser console log to check why the script is crashing.
If this works fine on the platform view then it gives a hint that you might be either using getXMLWait in your catalog client script during an Ajax call which is not supported on the Service Portal.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2024 06:33 AM
Hi @Diksha R
This issue occurred due to execution plan value not getting properly.
I'm attaching a KB below it might be helpful
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0994307
Mark it Helpful and Accept Solution!! If this helps you to understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2024 09:35 AM
Hi @Diksha R ,
-Check if any of your variables you are using is causing this issue.
-Check onSubmit client script configured
Please mark my answer correct/helpful if it resolved your query

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2024 11:37 AM
Hi @Diksha R .
You can check the logs on both servicenow and web browser there is may be some issue you are getting while submiting. There are some errors which occurs while submiting the form.
- Form loading issuesThe form may appear to be loaded, but the context menu is not visible when right-clicked. This is usually caused by a client-side error, such as a client script or UI script. To troubleshoot, open the Browser Developer tool and load the form to see an error in the console.
- Broken form issuesSections and fields may be missing from the form. To troubleshoot, understand the form structure and tables to identify the issues.
- Javascript errorsSome symptoms include:
- Inability to click on reference icons, such as the magnifying glass or clickthrough
- Inability to use some or all UI Actions, such as Update or Save
- Inability to save data in certain fields
- Form does not load completely
- Inability to get the ServiceNow right-click context menu on the form or form objects
- Potential causes include:
- Malformed formatters
- Gremlins
- Client Script/UI Policy/UI Script throwing errors
- Unique field issuesThe form may not be able to be submitted after a unique string field is submitted with a non-unique value. Even after the value is changed to a unique one, the form may still not be able to be submitted. The user may receive a message that says "Invalid update. Record has been deleted or you no longer have access to read".
- TypeError
The script may stop the submit action for a specific view if the field does not exist on the form. To troubleshoot, add the fields used in the client script to the form layout.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak