I checked what to do avoid 404 error but still encountering it.
I have full access to the repository since it is my own. Added vercel.json and configure it as well.
Stuck at the point where I do not know how to solve the problem. Can anyone please help?
This might be one of the dumbest question so far, sorry. I am a newbie here)
Alright, then it sounds like the project throws a 404 error after a function fails to return the expected resource. You can find more details about the 500 error by checking the runtime logs.
In this case, I see OpenAIError: The OPENAI_API_KEY environment variable is missing or empty. Please check that all necessary environment variables have been set for your project and redeploy. That should fix this 500 error