Bad Request (400)

I am getting this Bad Request (400),even after setting the debug and allowed host to whats specified still i am getting this error

DEBUG = False
ALLOWED_HOSTS = [‘https://demoplatebar.onrender.com’]

Hi @Adiseshakarthik,

The ALLOWED_HOSTS list should include the hostname, not the full URL. Can you try editing this to demoplatebar.onrender.com and see if that helps?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.