Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
trpc.useQuery() succeeding but returning empty data? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
6 replies
Donny D
trpc.useQuery() succeeding but returning empty data?
Ive checked my db and the entries definitely exist
. and the query is sending the right Id input to find a unique entry using the id
.
But the
data
data
object in the useQuery result is
undefined
undefined
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
TRPC UseQuery
TTC
Theo's Typesafe Cult / questions
3y ago
Infer useQuery .data type from TRPC
TTC
Theo's Typesafe Cult / questions
3y ago
tRPC useQuery ReturnType
TTC
Theo's Typesafe Cult / questions
4y ago