Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.8/site-packages/flask_restful/__init__.py", line 272, in error_router

return original_handler(e)


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/dashmachine/dashmachine/settings_system/routes.py", line 77, in add_images

new_path = os.path.join(dest_folder, file.name)
AttributeError: 'NoneType' object has no attribute 'name'

Traceback (most recent call last):


 "/var/task/handler.py", line 509, in lambda_handler

return LambdaHandler.lambda_handler(event, context)


 "/var/task/handler.py", line 237, in lambda_handler

handler = cls()


 "/var/task/handler.py", line 132, in __init__

wsgi_app_function = getattr(self.app_module, self.settings.APP_FUNCTION)
AttributeError: module 'api' has no attribute 'app'
