~/ Cultured Man
~/ Cultured Man
Explore posts from servers
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
closing this as the issue is resolved. Just wanna say humans can be so stupid sometimes the problem was I have 2 URL's DATABASE_URL and UNPOOLED_DATABASE_URL so what was happening here is the database neon provided by default is there's /neon and I was using a different one for my project and somehow I copied neon's db in DATABASE_URL and UNPOOLED_DATABASE_URL is using my correct URL. but locally I have 2 envs and the one which I am using locally for all shared packages has the correct URL but my .dev.vars got the wrong one which was propagating to Cloudflare. Thanks
10 replies
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
i have 2 table like this b2b and p2p i made both of them together a while back and this is the first time i am using b2b in prod environment.
10 replies
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
this is a part of turborepo monorepo and i am deploying via wrangler CLI
10 replies
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
but it still gives this error in production meanwhile in local development it works fine
10 replies
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
so i have did all npx prisma generate, db push, db deploy
10 replies
PPrisma
Created by ~/ Cultured Man on 12/24/2024 in #help-and-questions
PrismaClientKnownRequestError: Invalid prisma.b2bTransaction.findUnique()
i am deploying this on hono
10 replies