lemonek
lemonek2mo ago

TRPClientError: Unexpected character

Hello, I am working on an Expo app and I seemingly randomly get the error in the picture. I don't really know why because I send many requests and sometimes it happens and sometimes not. I can provide any code that could be helpful. This the project repo: https://github.com/lmnek/run-app (I use npm and these packages ├── @trpc/client@11.0.0-rc.359 ├── @trpc/react-query@11.0.0-rc.359 ├── @trpc/server@11.0.0-rc.359)
GitHub
GitHub - lmnek/run-app
Contribute to lmnek/run-app development by creating an account on GitHub.
No description
Solution:
Usually a sign that something between the client and the server isn’t working in the infrastructure
Jump to solution
2 Replies
Solution
Nick
Nick2mo ago
Usually a sign that something between the client and the server isn’t working in the infrastructure
lemonek
lemonek2mo ago
Yeah, I hosted my backend for development with localtunnel and they started to block my requests 😄
More Posts
Change db url in ctx with an API callI want to have a switch in my frontend to change from dev db to prod db. I'm using prisma. Have 2 prTRPC Docs GenerationHey, I want to generate a swagger-like interface to document my TRPC api. However, I don't want to uerror: NEXT_REDIRECTHi I'm doing a server call in RSC, but it crash the app and show this kind of error where shows in tIs there a way to use TRPC React Query Integration with Nanostores instead of the Context API?Currently we use TRPC by wrapping out application in a TRPC context provider. However, in some use cWhat do you guys think about the approach of importing/exporting tRPC types to be used in separate BHello, I was looking for a way to share tRPC API between multiple electron apps, I thought first abHow to add fallback link to tRPC link (Mirror API URL if main URL failed)My API URL is not functioning in Iran, I'm using Vercel and Vercel has banned Iran, I want to providHow can I show real-time post's replies/comments after a successful a reply mutation?After submitting a successful reply mutation, I want to show a real-time UI update on my frontend?Quick question: how to get mutation body in a middleware, which is for a global logging?Hi everyone!Quick question: The pic shows that the output of "input" is undefined. Is there any anotError with v11 when using batchingI'm using the lastest version of v11. When I use the batch link I get an trpc inernal error when battRPC failed on <no-path>: `headers` was called outside a request scopeI'm using NPM GET /api/trpc/post.test?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%