Miserlou/Zappa

An uncaught exception happened while servicing this request

adamrozencwajg opened this issue · 0 comments

Hello. After deploying with zappa deploy dev I am now receiving the following when invoking the endpoint in browser:

"{'message': 'An uncaught exception happened while servicing this request. You can investigate this with the zappa tail command.', 'traceback': ['Traceback (most recent call last):\n', ' File "/var/task/handler.py", line 540, in handler\n with Response.from_app(self.wsgi_app, environ) as response:\n', ' File "/var/task/werkzeug/wrappers/base_response.py", line 287, in from_app\n return cls(*_run_wsgi_app(app, environ, buffered))\n', ' File "/var/task/werkzeug/wrappers/base_response.py", line 26, in _run_wsgi_app\n return _run_wsgi_app(*args)\n', ' File "/var/task/werkzeug/test.py", line 1119, in run_wsgi_app\n app_rv = app(environ, start_response)\n', "TypeError: 'NoneType' object is not callable\n"]}"

my settings are as follows:

{
"dev": {
"aws_region": "us-east-1",
"django_settings": "groms_site.settings",
"profile_name": "default",
"project_name": "groms-site",
"runtime": "python3.7",
"s3_bucket": "zappa-0jwgxep72",
"slim_handler": true,
"environment_variables":{
"DJANGO_SETTINGS_MODULE": "groms_site.settings",
},
}
}

any help would be much appreciated. best, adam