tursodatabase / turso-cli

Command line interface to Turso.

Home Page:https://turso.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unhelpful error message when shell connecting to a database URL

glommer opened this issue · comments

We have just changed the format of the shell commands to require an --instance or --location flag.

But the error message in case someone passes an actual turso URL is not that helpful:

turso db shell libsql://prompt-deadpool-glommer.turso.io
Error: failed to connect to database. err: handshake error: Authentication failed: The JWT is invalid