You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing auth token in URL against a Turso db yields confusing error "failed to execute SQL: SELECT 1; invalid character 'T' looking for beginning of value"
#142
Open
CodingDoug opened this issue
Aug 1, 2023
· 0 comments
$ go run cmd/libsql-shell/main.go libsql://my-db-my-gh.turso.io/
Error: failed to connect to database. err: failed to execute SQL: SELECT 1;
invalid character 'T' looking for beginning of value
exit status 1
But this works:
$ go run cmd/libsql-shell/main.go libsql://my-db-my-gh.turso.io/?authToken=`turso db tokens create my-db`
The problem occurs with both https and libsql URLs on a Turso database.
The text was updated successfully, but these errors were encountered:
But this works:
The problem occurs with both https and libsql URLs on a Turso database.
The text was updated successfully, but these errors were encountered: