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
➜ natural-language-postgres git:(live) pnpm run seed
> [email protected] seed /Volumes/D/khanakia/Downloads/natural-language-postgres
> tsx lib/seed.ts
VercelPostgresError: VercelPostgresError - 'invalid_connection_string': This connection string is meant to be used with a direct connection. Make sure to use a pooled connection string or try `createClient()` instead.
at createPool (/Volumes/D/khanakia/Downloads/natural-language-postgres/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vercel/postgres/src/create-pool.ts:95:11)
at Object.apply (/Volumes/D/khanakia/Downloads/natural-language-postgres/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vercel/postgres/src/index.ts:39:16)
at seed (/Volumes/D/khanakia/Downloads/natural-language-postgres/lib/seed.ts:20:29)
at csv (/Volumes/D/khanakia/Downloads/natural-language-postgres/lib/seed.ts:73:1)
at Object.<anonymous> (/Volumes/D/khanakia/Downloads/natural-language-postgres/lib/seed.ts:73:27)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object.transformer (/Volumes/D/khanakia/Downloads/natural-language-postgres/node_modules/.pnpm/[email protected]/node_modules/tsx/dist/register-DCnOAxY2.cjs:2:1186)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14) {
code: 'invalid_connection_string'
}
The text was updated successfully, but these errors were encountered:
followed this half baked tutorial https://sdk.vercel.ai/docs/guides/natural-language-postgres#explain-sql-queries
and getting the below error
.env
The text was updated successfully, but these errors were encountered: