Issue
Not able to submit records via Record Producer on the portal.
Following error can be seen in the browser console. error: message: "Cannot find function validateMaxRowCountMultiRowVS in object [object Object]." detail: "TypeError: Cannot find function validateMaxRowCountMultiRowVS in object [object Object]. (sys_ws_operation.4b9f0a8967101200d22b794717415a30.operation_script; line 45)"
Cause
While submitting the form, there is a 500 error at console as follows:
{"error":{"message":"Cannot find function validateMaxRowCountMultiRowVS in object [object Object].","detail":"TypeError: Cannot find function validateMaxRowCountMultiRowVS in object [object Object]. (sys_ws_operation.4b9f0a8967101200d22b794717415a30.operation_script; line 45)"},"status":"failure"}
The error is caused by an OOB Scripted REST Resource 'Submit a Record Producer' that came from the 'Service Catalog REST API (com.glideapp.servicecatalog.rest.api)' plugin.
Resolution
To resolve this issue, repair the plugin.
- Go to the 'Plugins' from the left navigator
- Search for the 'Service Catalog REST API (com.glideapp.servicecatalog.rest.api)' plugin
- Open the record and click on the 'repair' related link