Chris
04/22/2022, 4:58 PMunexpected error
. I ran into this awhile back but can't remember the solution. This is with the current set of Extension Tools.Steve Goldberg
04/22/2022, 5:12 PM// Find this
const hostnameStep1 = this.vm ? hostName : `rest${molecule}.<http://netsuite.com|netsuite.com>`;
// And replace it with this
const hostnameStep1 = this.vm ? hostName : `system${molecule}.<http://netsuite.com|netsuite.com>`;
Extension Developer Tools
In the developer tools source code, open ns_npm_repository\oauth1\index.js and make the following change:
// Find this
let hostnameStep1;
if (this.vm) {
hostnameStep1 = hostName;
} else if (this.account) {
hostnameStep1 = `${this.account}.restlets.api${molecule}.<http://netsuite.com|netsuite.com>`;
} else {
hostnameStep1 = `rest${molecule}.<http://netsuite.com|netsuite.com>`;
}
// And replace it with this
const hostnameStep1 = this.vm ? hostName : `system${molecule}.<http://netsuite.com|netsuite.com>`;
Chris
04/22/2022, 5:18 PMlukeabbott
05/17/2022, 12:00 PMLucas
05/25/2022, 5:39 PM