-
Notifications
You must be signed in to change notification settings - Fork 45
TypeError: argument of type 'NoneType' is not iterable #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, it seems the cause of the error is that the lambda event is empty (None). Any ideas why it might be set to None? |
hello, I just started And I can't figure it out. I had never encountered an incident like this before. |
Hi @suwat-netprom - looking at your report I suspect this library doesn't work with We can of course fix this logic to not cause an error, but this library is effectively predicated on having the |
hello, Thanks for checking if it's compatible. will be very helpful. ps. My English isn’t good. |
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
can show log not have issue
Actual Behavior
[ERROR] TypeError: argument of type 'NoneType' is not iterable Traceback (most recent call last): File "/opt/python/lib/python3.8/site-packages/datadog_lambda/wrapper.py", line 142, in __call__ self.response = self.func(event, context, **kwargs) File "/var/task/wsgi_handler.py", line 59, in handler if "_serverless-wsgi" in event:
Steps to Reproduce the Problem
Specifications
Stacktrace
thany you
Paste here
The text was updated successfully, but these errors were encountered: