Bryan3
Explore posts from serversTRPC vanilla client load failed when called on mobile browser
Hi, I have created a vanilla client to use TRPC without hooks in a NextJS project:
When I call
const res = await trpcClient.example.hello.query({ text: "123" });
It works on desktop, but when using a mobile browser (tested on iOS safari and chrome), the following error is returned with no additional information being logged:
Is the error an issue with how the vanilla client is created and how might I be able to fix it? Thanks for your help!2 replies