Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Suitelet - oauth-1.0a and Crypto Library - Restlet Post error -ReferenceError "crypto" is
[LEFT]Hi all,
I'm developing a Suitelet to Post JSON to a Restlet using oauth-1.0a.js (from ddo/oauth-1.0a GitHub) and the Crypto library v3.1.2. I get the following Suitelet error - [LEFT][COLOR=#333333][FONT=Open Sans][SIZE=14px]ReferenceError "crypto" is not defined. This occurs when executing the following line - "[/LEFT]var authorization = oauth.authorize(request_data, token);". I presumed this was because I hadn't loaded the correct Crypto file to the script libraries. Not knowing which file I was missing I loaded all the Crypto library to the script libraries but did not solve problem. I'm missing something and SuiteAnswers provides few answers. I'm missing something. Can anybody help? Thanks.