suitecloud account:setup fails on case of letters in account ID
See original GitHub issueI was trying to stand up a new SDF project. My Account ID is like “tstdrv1234567”.
First attempt failed, when I specified that account ID as NetSuite shows it in the URL bar in my browser - with tstdrv in lower case letters.
C:\workspaces\test-cli\test-cli>suitecloud account:setup ? Select an authentication method: Save a TBA token issued in NetSuite. ? Enter an authentication ID (authID): authID1 ? Enter the account ID: **tstdrv1234567** ? 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.
Second attempt was successful - when I specified the account ID with upper case letters, as a guess.
C:\workspaces\test-cli\test-cli>suitecloud account:setup -i ? Select an authentication method: Save a TBA token issued in NetSuite. ? Enter an authentication ID (authID): authID1 ? Enter the account ID: **TSTDRV1234567** ? Enter the Token ID: **************************************************************** ? Enter the Token Secret: **************************************************************** The TBA token has been saved for the following company and role: ^^^SuiteCloud Developer Exam [Administrator]. This project will use the authentication ID as default. If you want to change your default credentials, run "suitecloud account:setup" again. The account has been successfully set up.
Ideally, the tool would convert those ‘tstdrv’ letters to upper case for me, so it doesn’t fail with an error message that is hard to make sense of. Thanks,
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
@anshulgupta4 Make sure when you generate the token from UI, you select SuiteCloud Development Integration from the application name dropdown. Otherwise token will not work.
@alii-gator I logged into netsuite and generated keys and issued a authid for myself that i want to use for deployments ./sdfcli.sh authenticate -savetoken -tokenid abc -tokensecret xyz -account 123456 -authid mykey But when i use mykey with the deploy command is gives me the error: /bin/bash ${WORKSPACE}/build/sdfcli.sh validate -p …/$line -authid mykey -server
_"The "****" authentication ID (authID) is not available. Check your authentication credentials and try again."_
How can this be removed ??