https://i.sstatic.net/467mq.png
I've been attempting to retrieve event.body.data, but it keeps returning undefined. I've tried various methods such as JSON.parse(event), JSON.parse(event.body), JSON.parse(event.body.data), JSON.stringify, and more, but nothing seems to be working. Trying JSON.parse(event) gives a syntax error. This leads me to believe that the data is already in JSON object format since when I console.log it, there are no quotation marks around it. Despite this, I'm unable to access the property within it. Even wrapping it in an if statement like if(event.body.data) doesn't yield any results. Does anyone know how to successfully retrieve a property from inside event.body?