I have troubleshoot all the steps mentioned in documentation but unable to identify the issue, what causes this behaviour even though my application working fine in my local machine
There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.
A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
I have troubleshooted all the steps that is mentioned in docs, but unable to identify the main cause
Hi @shivamjain-muorocom, welcome to the Vercel Community!
Can you compare your project configuration with examples/python/django at main · vercel/examples · GitHub, which is a working demo for Django projects on Vercel?
@anshumanb when I change the configuration of vercel.json file same as example you provided then when i go to the url then they downloading the wsgi.py file and then blank white page is shown.
Hi @shivamjain-muorocom, it’s hard to debug the application code without checking it out. I’d recommend you first try cloning and deploying the example app and then slowly start applying your changes to it. This way you will be able to figure out what exactly is causing the issue.
If you need more help, please share your public repo or a minimal reproducible example. That will let us all work together from the same code to figure out what’s going wrong.
@anshumanb
This is my repo link: GitHub - Shivamjain-muoro/hello_world
with the updated code, please help me to figure out the issue
Hi @shivamjain-muorocom, thanks for sharing your project.
I was able to deploy your project on Vercel after two changes: renaming the hellow_world
folder to api
so Vercel recognizes your project as a serverless Python project and then used the rewrites
configuration in the vercel.json
.
I hope this helps.
Thanks @anshumanb its working fine now
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.