Error querying planetscale db

Trying to get setup with drizzle and running into this error. There's not much info here so I'm not sure how to debug it
TypeError: fetch failed
    at fetch (/home/kelby/work/jobs_fe/node_modules/undici/index.js:113:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async postJSON (file:///home/kelby/work/jobs_fe/node_modules/@planetscale/database/dist/index.js:115:22)
    at async Connection.execute (file:///home/kelby/work/jobs_fe/node_modules/@planetscale/database/dist/index.js:75:23)
    at async load (/home/kelby/work/jobs_fe/src/routes/+page.server.ts:34:14)
    at async Module.load_server_data (/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:33:17)
    at async eval (/node_modules/@sveltejs/kit/src/runtime/server/page/index.js:168:13)


The query I'm trying to make at line 34 of +page.server.ts is:
  import { db } from "$lib/server/db";
  import { users } from "$lib/server/schema";
  const res = await db.select().from(users);
Was this page helpful?