When I try to create new token via gulp theme:fetc...
# suitecommerce
v
When I try to create new token via gulp theme:fetch I get “An unexpected error has occurred. Please go back and try again”.
n
This is a known issue, try following File: SC_21.2\Commons\ns_npm_repository\oauth1\index.js and change
Copy code
const hostnameStep1 = this.vm ? hostName : `rest${molecule}.<http://netsuite.com|netsuite.com>`;

to

const hostnameStep1 = this.vm ? hostName : `system${molecule}.<http://netsuite.com|netsuite.com>`;
🙏 1
p
@Santiago
s
@PabloZ yep saw it thanks!!!
c
@PabloZ @Santiago This is broken in 2021.2.0 release as well. The same fix works: replace
Copy code
rest${molecule}.<http://netsuite.com|netsuite.com>
with
Copy code
system${molecule}.<http://netsuite.com|netsuite.com>