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.
RESTlet (token based authentication) > Custom query parameter to pass values to GET request
We have been working with NetSuite support for some time now on an issue related to passing query parameters to RESETlets when using custom query parameters. The token based auth works fine with the RESTlet up until the point that I add a custom query parameter. As soon as I do I get:
error code: INVALID_LOGIN_ATTEMPT
error message:Invalid login attempt.
Anybody had a similar issue and/or knowledge of a workaround?
FYI: Currently using SuiteScript 2.0 (have tried with SuiteScript 1.0 with same result)
0