
Solution
- In the Theme or Extensions Development Tools directory, open this file: …/ns_npm_repository/oauth1/index.js
- Find the following line of code:
- return this._baseStep(`${this.vm ? ” : account}${this.urls.step3}`, params);
- Replace it with the following line of code:
- return this._baseStep(`${this.vm ? ” : account.replace(‘_’,’-‘)}${this.urls.step3}`, params);
- In the Theme or Extensions Development Tools directory, open this file: …/gulp/ns-deploy/net.js
- Find the following line of code:
- deploy.info.hostname = `${account}.restlets.api.${molecule}netsuite.com`;
- Replace it with the following line of code:
- deploy.info.hostname = `${account.replace(‘_’,’-‘)}.restlets.api.${molecule}netsuite.com`;