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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Invalid token when calling POST on a 2.0 RESTlet
I'm a bit baffled on this one right now, and hoping a quick nudge will get my past my wall,
I have a restlet that is intended to update a field on a return authorization record. I am calling the post with the payload of
{'recordtype': 'returnauthorization', 'id': '32664397'} however I get a JS_EXCEPTION error before I get my log indicating I am inside postRec:Error:
View System JS_EXCEPTION 1/7/2016 2:25 PM Robert J Hipwell SyntaxError: Unexpected token: r
which seems to me that my payload is being parsed out like an array...Any help on this would be much appreciated.
0