Empty event object? Posted by: Amazon Customer Posted on: Nov 29, 2015 8:32 AM Reply This question is answered .



Here's my very simple lambda code:

Here's my cloudwatch logs:

Here's my Twilio request (or something like it):

ToCountry=US&ToState=MA&SmsMessageSid=



Finally, here's my API gateway configuration (screencast)



I'm sure it's something simple but if somebody could point me in the right direction that would be awesome! Thank you! Hi! I'm trying to do a very simple Twilio responder. I'm able to get the round trip to/from Twilio working (aka a working SMS) but when I try to inspect the event object to write logic against it, it appears to be blank.Here's my very simple lambda code: https://gist.github.com/cerebro-bot/e6f02f0f8e2e7030d29d Here's my cloudwatch logs: http://screencast.com/t/T9LBYtpHhW Here's my Twilio request (or something like it):ToCountry=US&ToState=MA&SmsMessageSid= redacted &NumMedia=0&ToCity=WILMINGTON&FromZip=30127&SmsSid= redacted &FromState=GA&SmsStatus=received&FromCity=MARIETTA&Body=sdadfadsfsad&FromCountry=US&To= redacted &ToZip=01887&NumSegments=1&MessageSid=SM5cfc0dffde5c49746a0d2b53ec82755e&AccountSid= redacted &From= redacted ApiVersion=2010-04-01Finally, here's my API gateway configuration (screencast) http://screencast.com/t/Kx4t7VytZF I'm sure it's something simple but if somebody could point me in the right direction that would be awesome! Thank you! Replies: 1 | Pages: 1 - Last Post: Nov 29, 2015 1:06 PM by: Amazon Customer