Sigo
Sigo4mo ago

TRPCClientError: Unable to transform response from server

I am currently encountering this error occasionally in my apps. I am using a Monorepo, which includes a mobile app and two web apps, all connected to a single database using Prisma and using TRPC in all apps. I have been trying to determine the cause of the error, but I still have no idea. I would appreciate it if anyone has any ideas or has experienced this issue before. Thank you
2 Replies
Sigo
Sigo4mo ago
Getting this error on all my request
codeOverCoffee
codeOverCoffee2mo ago
@Sigo Not sure if you're still getting this error. But my issue was because I upgraded to tRPC v11 and didn't setup the data transformers correctly: https://trpc.io/docs/migrate-from-v10-to-v11#transformers-are-moved-to-links-breaking
Migrate from v10 to v11 | tRPC
This is a current work in progress representing version 11.