I'm new to aws lambda, I created a function writen in python, i have aws api gateway as a trigger to my function.
the runtime is python 3.11
Now! here's the problem that i can't even explain:
import json
def lambda_handler(event, context):
# TODO implement
query = event.get('queryStringParameters', {})
#that line causes the problem
challeng = query.get('challenge', None)
return {
'statusCode':200,
'body': 'xyz'
}
and since lambdas doesn't have logs to trace the issue in the code (if any)