Closed manicman closed 6 years ago
I'm also having this issue :(
Now I got past the execution mode but i've got a slightly different error:
> u'': KeyError
> Traceback (most recent call last):
> File "/var/task/lambda_function.py", line 244, in lambda_handler
> return_dict = run_set_mode(set_hostname, validation_hash, source_ip)
> File "/var/task/lambda_function.py", line 134, in run_set_mode
> record_config_set = full_config[set_hostname]
> KeyError: u''
I had this error, and it was fixed by taking the "https" out of the client invocation. Otherwise it tries to call https://https://<invocation url>
Hope this helps.
Also got this because i had the wrong hostname in my config.json
I am getting this KeyError error, below you can see the logs, I will appreciate any comment
START RequestId: ffa6f9a4-919f-11e7-b2e0-897f2f836647 Version: $LATEST 'execution_mode': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 220, in lambda_handler execution_mode = event['execution_mode'] KeyError: 'execution_mode'
END RequestId: ffa6f9a4-919f-11e7-b2e0-897f2f836647 REPORT RequestId: ffa6f9a4-919f-11e7-b2e0-897f2f836647 Duration: 0.45 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 30 MB
Fixed in new client from commit 51f3fd74af385f3230a7ba9607a5fbc8a66c2f41
When I try to run the client script, I see this error in cloudwatch: 'execution_mode': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 220, in lambda_handler execution_mode = event['execution_mode'] KeyError: 'execution_mode'