Prisma queries fail in production
Hello,
I’m using
I encounter the following error in my deployed API. The strange part is that sometimes it works, and sometimes it doesn’t. I’ve attached a screenshot showing how I instantiate Prisma.
(NOBRIDGE) LOG tokens {"error": "
Invalid
Cannot fetch data from service:
Unable to connect to the Accelerate API. This may be due to a network or DNS issue. Please check your connection and the Accelerate connection string. For details, visit https://www.prisma.io/docs/accelerate/troubleshoot."}
Hopefully, I'm doing something wrong and this has a quick fix. Thank you!
I’m using
@prisma/extension-accelerate with Expo Router API Routes (which run in Cloudflare Workers).I encounter the following error in my deployed API. The strange part is that sometimes it works, and sometimes it doesn’t. I’ve attached a screenshot showing how I instantiate Prisma.
(NOBRIDGE) LOG tokens {"error": "
Invalid
prisma.user.upsert() invocation:Cannot fetch data from service:
Unable to connect to the Accelerate API. This may be due to a network or DNS issue. Please check your connection and the Accelerate connection string. For details, visit https://www.prisma.io/docs/accelerate/troubleshoot."}
Hopefully, I'm doing something wrong and this has a quick fix. Thank you!
