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!
signature_invalid error in login audit trail using token-based auth
Has anyone successfully implemented the code in SuiteAnswer 44020 (https://netsuite.custhelp.com/app/answers/detail/a_id/44020/) to post to a restlet from another script with token based authentication?
I copied the script exactly except for the following:
1. Updated token, token secret, consumer, and consumer secret
2. Updated account ID and restlet URL
Then I created a suitelet in the same account as an existing restlet with the script file and applied the hmac-sha1.js and oauth-1.0a.js files linked from the SuiteAnswer as libraries. When I run the Suitelet, the response is {"error" : {"code" : "INVALID_LOGIN_ATTEMPT", "message" : "Invalid login attempt."}}. If I search the login audit trail, the detail for the failed login says "