After upgrading the WebStorm plugin to version 202...
# sdf
m
After upgrading the WebStorm plugin to version 2023.2, I receive the error "Something went wrong when trying to save credentials. Contact support." every time I try and manage my NetSuite credentials. I initially rolled back to version 2023.1 of the plugin, and it worked again. Recently the old plugin started having issues, so I was forced to upgrade to the newer version. I've tried WebStorm version 2024.1 and 2023.3, 2020.6, completely uninstalling and deleting everything including the credentials file. Anyone else had this issue? I can't find any logs that might indicate what's actually going wrong, but I suspect it's something to do with the plugin and java. I have all NetSuite's recommended version of the JDK. I unsuccessfully tried to work through this with NetSuite support. None of my other team members are having the issue, and it's only happening on one computer.
s
Why not try the Suitecloud plugin v 2024.1?
m
I’ve tried plugin 2024.1 and it behaves the same as 2023.2 Sadly 2023.1 js no longer available to install
e
Does the CLI work?
s
yes, try using
suitecloud account:setup
m
Prefacing this with "I've never used the CLI before". Tried using the Java CLI and get the same error Tried using Node.js CLI and get the same error. suitecloud account:setup
e
Try deleting your credentials file. `C:\Users\youruser\.suitecloud-sdk`on Windows
m
Credentials deleted. Same error as before "Something went wrong when trying to save credentials. Contact support."
s
This may sound harsh, but I recommend not doing any NS development in Windows - instead do it all in WSL on your Windows machine.
I can say, when I switched to using WSL (I run webstorm and all dev related tools inside WSL) suddenly a bunch of issues just went away. In addition, things run notably faster, for example
git
or
npm
m
It's fixed! I played around with WSL (didn't know this was a thing..so thanks for that) but ultimately I gave up on that approach. Someone on another forum suggested running: wmic csproduct get UUID and this returned an invalid namespace error Further research indicated this was due to a corrupt WMI database, so I followed the instructions to rebuild it, and now I get my UUID returned when I run that command. And best of all, I'm no longer getting the errors in Webstorm when trying to manage my credentials. I'm assuming that this has something to do with the way the data is encrypted in the credentials file, and that the UUID is required for signing. Anyhow, I'd like to thank you all for your suggestions and assistance. I've learnt about several "new" technologies along the way, and now better understand some of the initial forum posts I was struggling with. I hope this post and solution proves useful for anyone else that encounters this issue in the future.