jaiv
jaiv•11mo ago

Keep getting 500 error response I can't figure out

With both queries and mutations I get back this response saying that there's html in the response and it's invalid json. there's html because I use nextjs and some error is causing an ssr page to be given instead of a trpc error json. I've tried a few things and have found out that it's not even hitting my middlewares when giving this error. I'm not sure what's causing it. All help appreciated, ask for more info and i will provide 👍 i am using createTRPCProxyClient
Solution:
turns out i forgot to setup env files. it was all working on my pc but i started coding more on my macbook lol
Jump to solution
3 Replies
jaiv
jaiv•11mo ago
jaiv
jaiv•11mo ago
anyone have an idea?
Solution
jaiv
jaiv•11mo ago
turns out i forgot to setup env files. it was all working on my pc but i started coding more on my macbook lol