We are encountering an issue with our Next.js application using a Turborepo setup, integrated with Prisma ORM and Neon Postgres as the database. Upon invoking prisma.job.findFirst(), the following error is thrown:
The error stems from Prisma's validation of the datasource URL, indicating that the connection URL should start with the prisma:// protocol. However, Prisma typically expects a URL format like postgresql:// or mysql:// depending on the database used, making this error unexpected.