when i came back to work from the weekend, `sdfcli...
# sdf
d
when i came back to work from the weekend,
sdfcli deploy
stopped working and has been returning this error:
Copy code
SuiteCloud Development Framework CLI (cli-2019.1.0)
Using token based authentication.
Preview "C:\Users\username\source\repos\NetSuite".
The remote server returned an error:
  <https://accountnumber-sbx.app.netsuite.com:443/app/suiteapp/devframework/idepreviewhandler.nl> - Partial Content
But webstorm still lets me deploy, so why won't the sdfcli?
a
Reissue your tokens in the CLI, looks like they are no longer valid
Probably you changed credentials?
d
haven't change my credentials. I did just issue a token the week prior, but i'll issue new ones and see if that works....
hmm, new tokens didn't work either
t
Whenever I’ve seen this error in the past, it is related to a version mismatch between the SDF and the NetSuite instance. I’ve heard this should no longer be an issue, but for kicks and giggles, can you find your NetSuite version (exact version) compared to your SDF version? To find the exact NetSuite version, right click in NetSuite and select “Inspect”. Scroll down to the very bottom and you’ll see, in comments, the exact NetSuite version.
It’ll look like this: <!-- Host [ a10.prod.chi ] App Version [ 2019.1.0.64 ] -->
d
Copy code
<!-- Host [ <http://a13.prod.sv|a13.prod.sv> ] App Version [ 2019.1.0.64 ] -->
a
Actually, looks like you are passing the wrong account to the CLI
You seem to be passing accountnumber-sbx as scompid
t
He may have redacted his account #
👍 1
a
oh ok
🙂
can you send me your account number privately?
I will try to check prod logs
t
Nice! You’ll hear from me next time I see the Partial Content error 🙂
Before it’s only happened though when I have a version mismatch between SDF and NetSuite
d
to wrap up this thread... I was still using the
cli-2019.1.0.jar
, and had a
/node_modules
folder, which was breaking things. Updating to the
cli-2019.1.1.jar
resolved it.