krumpy
DTDrizzle Team
•Created by krumpy on 1/19/2024 in #help
drizzle-kir studio 401
Hi guys, it's my first time with Drizzle.
I'm getting a
I'm using libsql with turso from this boilerplate https://github.com/ixartz/Next-js-Boilerplate
Any idea where the issue could come from ?
401
off the bat when starting drizzle-kit studio
LibsqlError: SERVER_ERROR: Server returned HTTP status 401
at mapHranaError (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/client/lib-esm/hrana.js:257:16)
at HttpClient.execute (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/client/lib-esm/http.js:53:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at LibSQLPreparedQuery.all (/home/mkurz/Documents/personnal/trickandclick/node_modules/src/libsql/session.ts:167:16)
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/index.js:248:24
at async Promise.all (index 2)
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:8293:19
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:703:9
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:6557:7
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:5808:62 {
code: 'SERVER_ERROR',
rawCode: undefined,
[cause]: HttpServerError: Server returned HTTP status 401
at errorFromResponse (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/hrana-client/lib-esm/http/stream.js:363:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 401
}
}
LibsqlError: SERVER_ERROR: Server returned HTTP status 401
at mapHranaError (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/client/lib-esm/hrana.js:257:16)
at HttpClient.execute (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/client/lib-esm/http.js:53:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at LibSQLPreparedQuery.all (/home/mkurz/Documents/personnal/trickandclick/node_modules/src/libsql/session.ts:167:16)
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/index.js:248:24
at async Promise.all (index 2)
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:8293:19
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:703:9
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:6557:7
at async /home/mkurz/Documents/personnal/trickandclick/node_modules/@drizzle-team/studio/server.js:5808:62 {
code: 'SERVER_ERROR',
rawCode: undefined,
[cause]: HttpServerError: Server returned HTTP status 401
at errorFromResponse (file:///home/mkurz/Documents/personnal/trickandclick/node_modules/@libsql/hrana-client/lib-esm/http/stream.js:363:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 401
}
}
1 replies