From 6b9c3d4daaaf7c739fe6fa049c45a553e2a7f608 Mon Sep 17 00:00:00 2001 From: Ayush Kamat Date: Wed, 8 Nov 2023 12:49:38 -1000 Subject: [PATCH] better error message Signed-off-by: Ayush Kamat --- latch_cli/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/latch_cli/main.py b/latch_cli/main.py index 8b466975..f6c9912d 100644 --- a/latch_cli/main.py +++ b/latch_cli/main.py @@ -45,7 +45,9 @@ def decorated(*args, **kwargs): Unable to authenticate with Latch. If you are on a machine with a browser, run `latch login`. + If not, navigate to `https://console.latch.bio/settings/developer` on a different machine, select `Access Tokens`, and copy your `API Key` to `~/.latch/token` on this machine. + If you do not see this value in the console, make sure you are logged into your personal workspace. """).strip("\n"), fg="red", )