Invalid memory address or nil pointer dereference -CLI

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x48 pc=0x20fd17a]

goroutine 1 [running]:, {0x254a000?, 0xc000281780?})
/home/runner/work/sailpoint-cli/sailpoint-cli/internal/sdk/sdk.go:20 +0x3a, {0x363c9a0?, 0x4?, 0x25deab6?})

error code while listing in CLI

I had this issue on Windows 11 pro version. I have been able to successfully run the commands on Win 11 home and Enterprise edition.
what version you are using?

So, this is what I did to resolve the issue:

  1. Make sure that you don’t have any exportConfig.json or any other file other than sail.exe in SAIL CLI Installation directory.
  2. Check if you have any environment variable storing the BASE URL, CLIENT ID AND SECRET. Update them to point to correct URL and values.
    Follow the above steps, the issue should be resolved for you.