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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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