4 Replies
the error I am getting
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1111219456400695347/image.png)
You are calling .query on the t.router(...) instead of the procedure:
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1111266303060213904/image.png)
you need to call it in the
t.procedure
chain. I.e. after .input(...)
t.procedure
chain. I.e. after .input(...)