Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
500 Internal Server Error
I'm writing against the 2008.2 endpoint, using request-level authentication, to store customer and order data. Error handling in the service seems to be *very* bad, as almost anything that fails seems to fail by returning completely undiagnosable internal errors.
The first example I came upon was happening when updating a customer record. The address book, being pushed with replaceAll true, was failing on a customer where of the address entries were marked explicitly defaultBilling false and defaultShipping false. Perhaps this is illegal, but the server should either choose one and make it the default, which I believe it used to do, or it should return a sensible error. It took hours to identify the problem.