I am trying to create a contact record using restlet and I am getting the following error.
TypeError: Cannot call method \”getParameter\” of undefined (Contact Company from URL.js$1108550#5)”
Here is code,
Use the stack trace of the error to find out which line of which file is causing your error. The code you shared is unlikely to be the cause.
The guess would be that a user event script is causing the issue.
when the same function is called from a user event it creates a new contact, but I am trying to create a new customer from rest API using restlet and getting the error. Is it something related to permission with restlet.