Harley
03/04/2021, 4:15 AMIn this account, you must use account-specific domains with this SOAP web services endpoint. You can use the SOAP getDataCenterUrls operation to obtain the correct domain. Or, go to Setup > Company > Company Information in the NetSuite UI. Your domains are listed on the Company URLs tab.
I followed SuiteAnswer #97826 (https://netsuite.custhelp.com/app/answers/detail/a_id/97826/kw/token%20based%20authentication#subsect_161066440498) for generating a token for a non-production account. I added the key and secret and used https://[accountid]-<http://sb1.restlets.api.netsuite.com|sb1.restlets.api.netsuite.com>
as the vm. I was then able to select the site, domain and subsidiary. It then proceeded to look for the Activation Manifest for the domain, but then it failed and threw the above error.
In NetSuite I have run the extension manager on the SCIS site/domain, with no extensions, which seems to execute fine, but once it completes the activation doesn't show in the extension activation list.
The documentation for extension fetching and deployment are all SCA focused and don't seem to give further information for SCIS variations.
Running:
• NetSuite 2020.2
• SCIS 2020.2.4
• SuiteCommerce Extension Management 2020.2.1Flo Meilan
03/04/2021, 8:05 PMFlo Meilan
03/04/2021, 8:06 PMHarley
03/04/2021, 10:56 PMFlo Meilan
03/04/2021, 10:58 PMFlo Meilan
03/04/2021, 10:58 PMFlo Meilan
03/04/2021, 10:58 PMHarley
03/04/2021, 10:59 PMHarley
03/04/2021, 11:02 PMgulp extension:fetch --key <key-value> --secret <secret-value> --vm <accountid>-<http://sb1.restlets.api.netsuite.com|sb1.restlets.api.netsuite.com>
Flo Meilan
03/04/2021, 11:06 PMFlo Meilan
03/04/2021, 11:14 PMFlo Meilan
03/04/2021, 11:15 PMgulp extension:fetch --to -m sb --key <key-value> --secret <secret-value>
Harley
03/04/2021, 11:15 PMFlo Meilan
03/04/2021, 11:15 PMHarley
03/04/2021, 11:15 PMHarley
03/04/2021, 11:15 PMHarley
03/04/2021, 11:16 PM(node:1984) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND <http://rest.sb.netsuite.com|rest.sb.netsuite.com>
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26)
(node:1984) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhan
dled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see <https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode>). (rejection id: 1)
(node:1984) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Flo Meilan
03/04/2021, 11:19 PMFlo Meilan
03/04/2021, 11:20 PMHarley
03/04/2021, 11:20 PMFlo Meilan
03/04/2021, 11:23 PMFlo Meilan
03/04/2021, 11:23 PMFlo Meilan
03/04/2021, 11:23 PM${this.vm ? '' : account}${this.urls.step3}
, params);
With:
return this._baseStep(${this.vm ? '' : account.replace('_','-')}${this.urls.step3}
, params);Flo Meilan
03/04/2021, 11:24 PMHarley
03/04/2021, 11:24 PMFlo Meilan
03/04/2021, 11:25 PMFlo Meilan
03/04/2021, 11:27 PMHarley
03/04/2021, 11:32 PMFlo Meilan
03/04/2021, 11:32 PMFlo Meilan
03/04/2021, 11:33 PMHarley
03/04/2021, 11:33 PMFlo Meilan
03/04/2021, 11:42 PMFlo Meilan
03/15/2021, 2:15 PMHarley
03/16/2021, 12:23 AM--m
attribute instead?Flo Meilan
03/16/2021, 12:24 AMHarley
03/16/2021, 12:25 AMgulp extension:fetch
?Harley
03/16/2021, 12:34 AMgulp extension:fetch
after deleting and revoking all my tokens and updating my extension management tools to 2020.2.2. I also added the patch above to the files you referenced. I'm now getting the following error when attempting to create a new token with SB:
[11:31:43] Continue the authentication process in the prompted browser.
(node:28072) UnhandledPromiseRejectionWarning: Error: Invalid login attempt.
at OAuth1._baseStep (C:\Users\Harley\Documents\GitHub\Telegram-SCA\SCIS\ns_npm_repository\oauth1\index.js:306:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async OAuth1.issueToken (C:\Users\Harley\Documents\GitHub\Telegram-SCA\SCIS\ns_npm_repository\oauth1\index.js:360:25)
(node:28072) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see <https://nodej>
<http://s.org/api/cli.html#cli_unhandled_rejections_mode|s.org/api/cli.html#cli_unhandled_rejections_mode>). (rejection id: 1)
(node:28072) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[11:31:56] The following tasks did not complete: extension:fetch
[11:31:56] Did you forget to signal async completion?
Flo Meilan
03/16/2021, 12:36 AMMatias Lugli
03/19/2021, 2:34 PMFlo Meilan
03/22/2021, 2:28 PMFlo Meilan
03/22/2021, 2:37 PMHarley
03/22/2021, 10:47 PMHarley
03/22/2021, 10:47 PMFlo Meilan
03/22/2021, 11:24 PM