You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This caused the following failure when the downstream lambda function was invoked:
[1522557727786] 'int' object has no attribute 'get': AttributeError
Traceback (most recent call last):
File "/var/task/handler.py", line 509, in lambda_handler
return LambdaHandler.lambda_handler(event, context)
File "/var/task/handler.py", line 240, in lambda_handler
return handler.handler(event, context)
File "/var/task/handler.py", line 384, in handler
whole_function = self.get_function_for_aws_event(records[0])
File "/var/task/handler.py", line 293, in get_function_for_aws_event
if message.get('command'):
AttributeError: 'int' object has no attribute 'get'
The text was updated successfully, but these errors were encountered:
qsweber
changed the title
Fails if message is numeric
Fails if SNS message contains only numeric values
Apr 1, 2018
qsweber
changed the title
Fails if SNS message contains only numeric values
Handling SNS message fails if SNS message contains only numeric values
Apr 1, 2018
Zappa/zappa/handler.py
Line 298 in d1170b4
I sent a message to SNS which consisted simply of the number 1:
This caused the following failure when the downstream lambda function was invoked:
The text was updated successfully, but these errors were encountered: