awslabs / route53-dynamic-dns-with-lambda

A Dynamic DNS system built with API Gateway, Lambda & Route 53.
Apache License 2.0
486 stars 167 forks source link

KeyError #12

Closed joaho closed 7 years ago

joaho commented 7 years ago

Hi, I'm getting a KeyError in lambda_function.py and dynamic_dns_lambda_client.sh is not returning anything. Any idea where things may have gone wrong?

u'': KeyError Traceback (most recent call last): File "/var/task/lambda_function.py", line 243, in lambda_handler return_dict = run_set_mode(set_hostname, validation_hash, source_ip) File "/var/task/lambda_function.py", line 133, in run_set_mode record_config_set = full_config[set_hostname] KeyError: u''

joaho commented 7 years ago

Never mind. After some debugging I found the error on my end in the request, passing the api url including "https://"