AWS API Gateway only passing 1st variable to function, but lambda test passes all
AWS API Gateway only passing 1st variable to function, but lambda test passes all I'm finding this odd issue where AWS is passing the URL String parameters to a Lambda function properly but there is a break down in API gateway only when Lambda runs a Python handler function that calls KeywordSearch(keyword,page,RPP) that passes 3 variables to keywordSearch. In the lambda IDE test, it works without issue and prints out all 3 variables as seen in the logs as InsideKeywordSearch, Vars=: keyword: bombing page: 1 RPP: 10 But when I run an API Gateway test the log is showing the variable is not passed into the function as seen in the log showing no variable for RPP or Page. The keyword is passed only. Am I not defining the function correctly? it works in Lambda why not API gateway if this is so? here is a snippet of the code. Function Call def handler(event, context): print('Inside Handler Funciton') keyword = event.get('search_keyword', None) id = event.get('id...
