I am trying to debug a view in my Flask app that is return a 500 status with the error TypeError: \'bool\' object is not callable in the traceback. The view cal
In Flask, a view must return one of the following:
Response object (or subclass)(string, status, headers) or (string, status)Flask tests for the first 3 options, and if they don't fit, assumes it is the fourth. You returned True somewhere, and it is being treated as a WSGI application instead.
See About Responses in the documentation.