Getting weird error on Vercel when deploying app

So my app works fine locally, however, I pushed to vercel and everything is fun except the fact my TRPC Returns this error:

"TRPCClientError: Unexpected token 'A', "An error o"... is not valid JSON
    at u.from (https://myapp.vercel.app/_next/static/chunks/pages/_app-e0b32bccfebdf428.js:1:20800)
    at https://myapp.vercel.app/_next/static/chunks/pages/_app-e0b32bccfebdf428.js:1:24691"


I'm not sure what to do here as it works fine on 2 different enviroments.
Was this page helpful?