t
tRPC
t
tRPC
ERROR fetch failed (url...)
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
3/27/23, 6:48 PM
Looks like an infra setup issue
N
Nick
•
3/27/23, 6:50 PM
Open the network debugger and that request is returning a 304 and HTML
N
Nick
•
3/27/23, 6:50 PM
N
Nick
•
3/27/23, 7:33 PM
Your vercel config is set up wrong
, or the URL is wrong
, it
's redirecting back to the app when you click
https://website-arthurdanjou.vercel.app/api/trpc/admin.isMaintenance?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D
N
Nick
•
3/28/23, 8:27 PM
You have the same problem as before
N
Nick
•
3/28/23, 8:27 PM
Look at the request in the network debugger
N
Nick
•
3/28/23, 8:29 PM
tRPC is involved in this but you would have the same problem running
any
API with a bad vercel setup
. Afraid I
'm not a vercel hosting user though so can
't offer much more than that