500: INTERNAL_SERVER_ERRORCode: INTERNAL_FUNCTION_INVOCATION_FAILED
Unanswered
Sloth bear posted this in #help-forum
Sloth bearOP
I'm getting this error whenever I deploy my NextJS project to Vercel. The .en v's are identical between locally and Vercel except for the HOST variable which is obviously updated for localhost and my custom domain. When I check runtime logs on Vercel, there is no errors or logs or anything, just a status 200.
20 Replies
@Sloth bear I'm getting this error whenever I deploy my NextJS project to Vercel. The .en v's are identical between locally and Vercel except for the HOST variable which is obviously updated for localhost and my custom domain. When I check runtime logs on Vercel, there is no errors or logs or anything, just a status 200.
are u doing some crazy never discovered operations?
@gin are u doing some crazy never discovered operations?
Sloth bearOP
i dont think so, ive been trying to fix this for like 5 days at this point
middleware runs completely fine
layouts dont display errors
u dont see anything in the vercel logs aswell
?
for example try requesting a different path in your app
and check if that request goes trough the middleware and where it goes
Sloth bearOP
yeah i do, only logs are my debugging ones from middleware and a status 200
or a redirect if necessary
hmm
Sloth bearOP
did u think about deploying it to a new vercel project
would be a try
Sloth bearOP
true
i will try
Sloth bearOP
yeah no that worked
im guessing it has something to do with the HOST environment variable then
thanks
ill figure it out