Can't use CLI in sandbox: `no session`

Hey there, so I tried setting up the Stripe CLI with sandboxes, unfortunately I’m stuck at no session error for any operation:

stripe preview whoami
XYZ, operating on Kryštof dev wksp_test_6R…
stripe prices list
Operating in Kryštof dev (wksp_test_6R…)...
no session

Any idea what am I doing wrong or is it a bug?

If I switch back to test mode (stripe preview use and select Test mode (Legacy)) it works fine.

OK, looks I found out what’s going on…

I need to prefix every command with stripe preview, e.g.:

stripe preview prices list

Maybe I’m just stupid and it should be obvious, but it would not be a bad idea to mention this in the docs :wink: