def response_422(self, message: str = None) -> Response:
        """
        Helper method for HTTP 422 response

        :param message: Error message (str)
        :return: HTTP Json response
        """
        message = message or "Could not process entity"
        return self.response(422, **{"message": message})

        Helper method for HTTP 422 response

        :param message: Error message (str)
        :return: HTTP Json response
        
flask_appbuilder/api/__init__.py