meltonstudiosM
Convex Community13mo ago
25 replies
meltonstudios

Convex Auth URL undefined

Any Idea what would cause this when using convex auth and Next app router? The error appears when the user trys to sign in. We get a 500 error code at the /api/auth route. We also have the NEXT_PUBLIC_SITE_URL set and this worked prior.

Error: url property passed to convex/nextjs function but is undefined. Is an environment variable not set? If this is intended remove 'url' from the preloadQuery options.

Error [ERR_HTTP_HEADERS_SENT]: Cannot append headers after they are sent to the client
Was this page helpful?