hey Team Got a RESTlet (someone else wrote it), Tr...
# suitescript
c
hey Team Got a RESTlet (someone else wrote it), Trying to connect to it with token. Testing in postman but no luck so far Parameters I use are : Get url - is the external url for deployment consumer key, id, token, secret - all freshly generated realm - ID of my SB account Getting invalid login attempt Checked the role and it has under setup : login using access tokens > full Also worth mentioning that the attempts are done on SB account, which has been refreshed few weeks ago, so user and role have been copied over. Been using user and role to successfully connect to that restlet but with login credentials, not token yet Any help would be greatly appreciated, as spent several hours on this with no joy
b
account id should match the value from https://system.na0.netsuite.com/app/webservices/setup.nl, including capitalization
c
Hi @battk It is matching the account ID, still no joy.
b
what does your OAuth 1.0 authorization settings look like, including the Advanced section
c
changed just now through trial and error 2 things : On the authentication tab > Add authorisation data to : Request Headers , and also changed the collection method from GET to POST and fot the RESTlet code itself as return, no login error anymore
Now need to figure it out how to use token details as params to get the final URL