500 Internal Server Error but error is not in server
isaiah08

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
isaiah08

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