drizzle-kir studio 401

Hi guys, it's my first time with Drizzle. I'm getting a 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
}
}
I'm using libsql with turso from this boilerplate https://github.com/ixartz/Next-js-Boilerplate Any idea where the issue could come from ?
GitHub
GitHub - ixartz/Next-js-Boilerplate: 🚀🎉📚 Boilerplate and Starter fo...
🚀🎉📚 Boilerplate and Starter for Next.js 14+ with App Router and Page Router support, Tailwind CSS 3.4 and TypeScript ⚡️ Made with developer experience first: Next.js + TypeScript + ESLint + Prettie...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server