500 Internal Server Error but error is not in server

If you go to the homepage, it gives you a 500 error. But when you look in the console, you don't see any error. Why?

You are viewing a single comment. View All
Answered by ch1ck3n [earned 5 cycles]
View Answer

Thanks! It shows the error now. It turns out that in python/config.py, it calls for the .env SECRET_KEY, but there is none, so it returns None. You then can't have a flask_wtf form without a SECRET_KEY configged to the application, so that was giving it the error. @ch1ck3n