tRPCttRPC
Powered by
PaddyP
tRPC•3y ago•
5 replies
Paddy

tRPC won't return route with function, only JSON

Hey all,

Why can I go to route 'test' and the 'This is a test!' is being returned, but when I try to go to another router called 'posts' it returns this big error, 404, meaning that it doesn't even exist, right? While the function does exist, what is it exactly looking for what I don't have?

Would love to hear from someone! 🙂

Best regards.
Screenshot_2024-01-11_at_8.16.54_PM.png
Screenshot_2024-01-11_at_8.16.19_PM.png
Screenshot_2024-01-11_at_8.16.29_PM.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

tRPC router won't return, unless it's just json.
PaddyPPaddy / ❓-help
3y ago
Can we use trpc route inside another trpc route?
Ali SamadiAAli Samadi / ❓-help
3mo ago
Use TRPC function inside of a TRPC function
santiSsanti / ❓-help
3y ago