I'm using the T3 stack and whenever I try to query one of my controllers I get this type error on the server. On the client I'm getting TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
. Any ideas?
Asked
Active
Viewed 948 times
3

Storm
- 117
- 1
- 8
-
You're probably tring to JSON parse something that isn't JSON. What you are parsing is an HTML. – LazioTibijczyk Jan 26 '23 at 16:32