azlath
azlath14mo ago

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.
No description
2 Replies
Nick
Nick14mo ago
This happens because the API can't be reached and is being intercepted by another web server It's an infrastructure setup issue
ibrahimyaacob
ibrahimyaacob11mo ago
hi @nlucas @azlath so what would be the solution for this ?