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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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