tRPCttRPC
Powered by
NotLuksusN
tRPC•3y ago•
4 replies
NotLuksus

Errors while running mutations when deploying CT3A using SST

I'm currently migrating a NextJS project of mine from Vercel to SST. It's based of CT3A and the trpc setup is the same as in a fresh CT3A. I was also able to reproduce the error with a fresh CT3A Project.
The error occurs when running mutations.
TRPCClientError: Cannot read properties of undefined (reading 'resolve')

The code for this, afaik runs in aws lambda.
Maybe anyone has an idea?
image.png
Solution
Solution is enabling streaming since ct3a uses the httpBatchStream link
Jump to solution
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

Type errors when deploying to Vercel using new client integration
FluXFFluX / ❓-help
7mo ago
TRCP JSON Malformed When Deployed to Lambda Using SST
Answer OverflowAAnswer Overflow / ❓-help
2y ago
throwing custom errors from mutations
asheeshhAasheeshh / ❓-help
3y ago