TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Error
Hello folks, I'm getting an issue with my integration, I'm a newbie in tRPC and I can't work well my integration with next, next-auth, and Prisma to make an authentication.
When I'm doing the request to the server, (I think) I'm receiving the following error
failed to load resource: the server responded with a status of 404 (Not Found)
And also the error in the image.
N
Nick•332d ago
This happens because the API can't be reached and is being intercepted by another web server
It's an infrastructure setup issue
I
ibrahimyaacob•228d ago
hi @nlucas @azlath so what would be the solution for this ?
4.8KMembers
View on DiscordMore Posts
trpc corsmy sveltekit app is running on https://example.com with tRPC and it's making requests to http://127.T3 app tRPC external callsCurrently i'm just making Post request and formatting my payload to
```{
"0": {
"json":Next-auth session not being fetched in tRPC contextNext-auth session not being fetched in tRPC contextuseMutation not handeling arguments correctly.Hello, I have a mutation setup on the server with the input being an object containing the fields emUpdate Clerk Organization from TRPC Router (T3 Stack)Hello, if anyone got an idea on how to handle this I would highly appreciate it.
I have some organiHow to not send request in specific condition in useQuery()```js
const { data: artists, isLoading } = api.findArtist.useQuery({
name: search,
});
```
TRPCClientError: fetch failedI get the below error when createTRPCProxyClient runs on BE of a Next.JS app hosted on Vercel:
```TinferRouterOutputs not inferringCould anyone point me in the right direction to why my types aren't being inferred here? (Using T3 bModular Router ThoughtsHello, I hope I can convey clearly what I hope to accomplish. To start, I have a monorepo, with a feIssue with trpc fetch when trying to pass Clerk auth to contextI'm currently trying to add Clerk auth to my trpc context, but I just keep getting this error:
`Err