[Node.js Fastify Drizzle PG] Obscure error when integrating Better-Auth
Hello,
I'm testing my better-auth integration and am getting an error that is not helpful. Is there some way to get more helpful logging?
I have a Node.js backend with Fastify. I've integrated Better-Auth by following the docs exactly. I am using Drizzle ORM with PG backend (hosted on Supabase).
I have verified that the Fastify route is being called and that
auth.handler
is being called. Here is the error I get:
As you can see, this is not the most helpful error. Where do I go from here?1 Reply