Forums

OSError: write error

I get the Something went wrong :-( error with 502 backend. The website used to work fine until last night when It suddenly got bugged.

From your error logs, it looks like your site is trying to start up Flask's development server using app.run. You should not do that on PythonAnywhere -- see this help page for the details.

Im really sorry I have re uploaded my old code instead of the new one. It works fine now , Im really dumb

Glad to hear that you made it work!