Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
Calendar Event creation script throws "unexpected error"
I have a script which creates a new calendar event, however I am facing an unexpected error when trying to execute nlapiSubmitRecord.
Could this sort of error be raised if I've missed out a required field? Generally, when there's a type mismatch or such like it's reported. In fact, usually the script throws up a specific error if there's a missing field.
What other situations could cause such an unexpected error to occur? Not surprisingly it's giving me a real headache, as even stepping through on the debugger isn't shedding any obvious light on the matter.
Thanks in advance for any insights you might have.