Anyone having issues fetching the theme?? I'm gett...
# suitecommerce
l
Anyone having issues fetching the theme?? I'm getting the following
s
The most common reason is that you are using an old version of the tools that haven’t been patched to account for changes the way the request URL is structured. You will need to modify a file in the developer tools: ns_npm_repository\oauth1\index.js.
Copy code
// Look for this
const hostnameStep1 = this.vm ? hostName : `rest${molecule}.<http://netsuite.com|netsuite.com>`;
 
// Change it to this
const hostnameStep1 = this.vm ? hostName : `system${molecule}.<http://netsuite.com|netsuite.com>`;
In some older versions of the tools, it will look like this:
Copy code
// Look for this
var hostnameStep1 = this.vm ? hostName : "rest" + molecule + ".<http://netsuite.com|netsuite.com>";
 
// Change it to this
var hostnameStep1 = this.vm ? hostName : "system" + molecule + ".<http://netsuite.com|netsuite.com>";
The second most common reason is that you haven’t set up token-based authentication properly, but I would try the above first
l
I'm using the latest tools... I was able to work perfect a few hours ago.. and now I can't even fetch the current theme. I also tried to create a new local enviro and a new integration.. but i'm getting the same error
s
That’s very weird, if it was working just fine a while ago
I would use the --to command to reset the account settings
l
yeah.. I tried that one.. but still getting the same error 😞
I'm getting this now. Any way to fix this?
And I just tried to disabled all extensions.. and I'm getting the same error.