I believe there is a typo in your code, I advise you to review everything relative to trpc line by line, I had the same error and after debugging all day I found out that I forgot to add the : to the httpBatchLink url