hi all, i'm setting up node.js suitecloud cli for ...
# sdf
d
hi all, i'm setting up node.js suitecloud cli for my production account, i did successfully for Sandbox, but i got error for production as below PS D:\denny\project> suitecloud account:setup ? Select or create an authentication ID (authID): ***The authentication ID that you select or create will be set up as default. Create a new authentication ID (authID). ? Select an authentication method: Save a TBA token issued in NetSuite. ? Enter an authentication ID (authID): prodDev ? Enter the account ID: xxxxxxx ? 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. I have created Integration record and also Access token for my user, i can confirm all tokens are correctly inputed
a
looks right to me
When you input the tokens, the CLI is validating them against the server. So there must be something wrong in that validation step
Either the tokens, or account ID are not correct, or there's a bug
check also your connectivity to NetSuite
saying in case you are connected to a VPN or similar that is blocking the calls
s
If you're using a sandbox account id make sure it is in the format '<accid>_SB1' (from company info) and not say '<accid>-sb1' (copied from url)
👍 1
a
What do you mean by
I have created an integration record
If you generate tokenID, secret with a manually created Integration Record, that will not work
You have to you use the
Suitecloud Development Integration
d
@Ali Syed (NS DevTools QA) i don't have Suitecloud Development Integration in LIVE, actually i'm not really sure why i have it in Sandbox, it could be automatically created when i setup SDF with eclipse
how should i create the SuiteCloud Development Integration in Production ?
a
You can do it in 2 ways. 1. It's automatically installed in your account if you make any sdf call with the account. 2. You can install this bundle manually
d
ahh ic
i think i cannot go with option 1, since i cannot even setup my account yet
a
If you opt for WebAuthentication instead of SaveToken. This should install the bundle.
d
i will try with option 2, let me delete my current integrateion record first
thanks everyone it works
💪 2
thanks @Ali Syed (NS DevTools QA)
a
Happy to help.
❤️ 1