tRPCttRPC
Powered by
SongkeysS
tRPC•2y ago•
34 replies
Songkeys

After upgrading to 11.0.0-next-beta.300, every request throws zod error

I didn't do anything but upgrading the trpc, and the error throws:

{"issues":[{"code":"invalid_type","expected":"object","received":"undefined","path":[],"message":"Required"}],"name":"ZodError"}
{"issues":[{"code":"invalid_type","expected":"object","received":"undefined","path":[],"message":"Required"}],"name":"ZodError"}


Rollbacking to
11.0.0-next-beta.178
11.0.0-next-beta.178
solves.
SCR-20240229-tazn.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

All my mutations are failing due to an empty body after upgrading to 11.0.0-rc.362
KrangaKKranga / ❓-help
2y ago
TSC errors after upgrading to v11
EvanEEvan / ❓-help
2y ago
Make tRPC return Bad Request on Zod validation error?
ApteryxAApteryx / ❓-help
3y ago
Zod formatting Error
Nacho EliasNNacho Elias / ❓-help
2y ago