tRPCttRPC
Powered by
hhhyhH
tRPC•3y ago•
13 replies
hhhyh

TRPCClientError - No "query"-procedure on path "user.all"

Im using react native expo, prisma, trpc and the postgres database is on railway
I have run the following commands:
npx prisma generate
and pnpm db-push so its up to date.

attached in the screenshots is the code for the routes, user model in prisma, and error messages.

Not sure why it cant recognise the user.all or the user.byId path ?

Interesting is that the failureReason is null the first time then after that it is for the above error message in the title of the post.
Screenshot_2023-04-10_at_8.07.50_pm.png
Screenshot_2023-04-10_at_8.11.30_pm.png
Screenshot_2023-04-10_at_8.11.55_pm.png
Screenshot_2023-04-10_at_8.12.29_pm.png
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

No "query"-procedure on path "auth.getProfile"
IamIconLivingIIamIconLiving / ❓-help
2y ago
404 TRPCError: no query procedure on path
functiondjFfunctiondj / ❓-help
3y ago