Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
unterminated String Literal
Hi,
We have a script that automatically creates sales orders for customers on our website.
We are passing in a json string, that is formatted correctly and we have run numerous different parsers over it to verify that it is formatted correctly.
The issue we have is that it occasionally fires an error. The strings are formatted exactly the same, yet for some reason it wont accept the data and returns an error.
The exact error is "Error: SyntaxError: unterminated string literal"
This doesnt happen all the time, but is happening enough it make us concerned.
Any ideas as to why ?
0