SNC CLI: Unable to run "project" or "deploy" commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2025 05:50 AM
Hi everyone,
For some reason SNC CLI fails to authenticate me when trying to create a new project. I managed to create it in offline mode, but then I get the same error when trying to deploy:
Before I do any of that I perform the "snc configure profile set" song and dance, I get the following:
I tried to provide the auth details after each command with the "--loginHost", "--username" and "--password" flags, but it makes no difference. I found a workaround in an older thread that suggested creating an additional profile besides the default one, but I can't seem to do that - every time I run the "configure profile set" command it just overwrites the default one. It was mentioned in that thread the the default profile "never works", so, as a workaround, any suggestion where are the profiles saved and how can I add a new one would be highly appreciated.
Thanks in advance!