mirpetri
TTCTheo's Typesafe Cult
•Created by Victor Costelini on 3/7/2023 in #questions
All of my tRPC requests returns 404 using create-t3-app.
If you get 404, simply the handler is likely not there. First of all check the dir structure it must be
/api/trpc/[trpc]/route.js
The trpc is there twice. I had the same issue when I was migrating my app from pages router to app router and had the folder structure like /app/api/[trpc]/route.js
which caused 404 🙂23 replies