turso-cli icon indicating copy to clipboard operation
turso-cli copied to clipboard

unhelpful error message when shell connecting to a database URL

Open glommer opened this issue 1 year ago • 0 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

glommer avatar Jul 01 '23 14:07 glommer