tRPCttRPC
Powered by
LukaL
tRPC•2y ago•
4 replies
Luka

failed to parse json

calling the trpc query fails because of
failed to parse JSON
failed to parse JSON
.
this is what im calling
internalApi.user.getUserById.query();
internalApi.user.getUserById.query();


ive trying logging the incoming call in the server but the request doesnt even seem to reach the server
image.png
Solution
next auth was filtering the endpoint
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

TRPCClientError JSON Parse error Unrecognized token
HuzefHHuzef / ❓-help
4y ago
TRPCClientError: JSON Parse error: Single quotes (') are not allowed in JSON
JonathanJJonathan / ❓-help
3y ago
JSON Parse error Unexpected token R on react native
dhatGuyDdhatGuy / ❓-help
4y ago
`useSuspenseQuery` with Remix causes weird "Failed to parse URL from /api" errors
sh03Ssh03 / ❓-help
14mo ago