t
tRPC
Sending FormData does not work at all - tRPC
A
tRPC
โข
13mo ago
โข
22 replies
Arxk
Sending FormData does not work at all
https://github.com/trpc/trpc/blob/main/examples/minimal-content-types
I have this exact same setup with tRPC but does not work
. Server just says
"Input not instance of FormData
"
, looking at the network tab it just sends a json payload
GitHub
trpc/examples/minimal-content-types at main ยท trpc/trpc
Move Fast and Break Nothing
. End
-to
-end typesafe APIs made easy
.
- trpc
/trpc
Solution
Got it working
. Had to use
splitLink
splitLink
with a condition for
isNonJsonSerializable
isNonJsonSerializable
Jump to solution
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
ReferenceError: FormData is not defined
B
banze / โ-help
3y ago
FormData TRPCClientError
V
vpjm / โ-help
13mo ago
superjson type does not work
A
Alex / KATT ๐ฑ / โ-help
4y ago