I was getting an error message saying that my credentials file "may be" corrupted when trying to use "suitecloud object:update" or "suitecloud project:deploy". My environment is Windows 11 either running under the Windows OS (vs. WSL) with VSCode v. 1.8.23 running Node.js 18.15.0 & Java 17.04. What is interesting is that uploading files worked fine validating that the credentials file was not corrupted. It was just the SDF commands that were failing.
What I had done to try to solve the issue :
• Deleted the credentials file and created a fresh one.
• Reviewed the Installation Prerequisites.
• Searched the web for answers, searched this forum
Ultimately what solved the problem was to update the suitecloud version from 1.6.2 -> 1.8 by running npm install -g @oracle/suitecloud-cli
Hopefully this saves someone a bit of time.