Hi all. Started to learn Node CLI, but faced the i...
# sdf
d
Hi all. Started to learn Node CLI, but faced the issue: suitecloud account:setup ? Select an authentication method: Save a TBA token issued in NetSuite. ? Enter an authentication ID (authID): TestToken ? Enter the account ID: 928018_SB1 ? Enter the Token ID: **************************************************************** ? Enter the Token Secret: **************************************************************** The token could not be validated. The authentication details are not valid or the server could not respond. Review your authentication details and try again. Error details: Invalid login attempt. What token should be used here?
I’m trying to use Sandbox account
Not sure what should go to authentication ID (authID) and to account ID
e
Your account ID looks right, and authID is just a user friendly label for the token on your machine
d
Thanks Eric! I also tried creating a new token under Developer role, but still getting the same error.
Also, when I create a token, the system asks for the Application Name, does it matter what to specify there?
p
@Dmitry Masanov You have to pick “Suitecloud Development Integration”, if you don’t have this one then you need to install a bundle from NetSuite (search the bundler for suitecloud)
d
Thanks @Petter! Installing “Suitecloud Development Integration” solved the issue. I knew I was missing something obvious. 🙂
👍 2
e
Where do you find
Suitecloud Development Integration
?
d
Hi @Eystein Bye. It is a bundle, so go to Customization - Suite Bundler - Search and Install Bundles and search by name
e
@Dmitry Masanov Thank you. Seems it was installed, so I might have a different issue
p
i don’t recall installing bundles everytime, only clicking the checkbox Setup>Company>enablefeatures>suitecloud> SDF and turning on token base auth
d
@Philip Denys can you check if that bundle was installed automatically?
p
doesnt seem like it
d
Hm. So, what application do you specify when creating a new key for SDF CLI?
p
at account:setup i select browserbased auth
but you need to be logged in at netsuite with the target env
d
Oh, I see. That method didn’t work for me for some reason
p
what error did you get?
d
Well. Now it is working. 🙂
👍 1
But previously the browser just didn’t open