I’m using AWS API Gateway + Lambda + DynamoDB for a small little project to record temperature data from a TMP102 sensor.
My Particle WebHook is throwing the following error message,
“Could not parse request body into json: Unrecognized token ‘event’: was expecting (‘true’, ‘false’ or ‘null’)\n at [Source: [B@64bac5c9; line: 1, column: 7]”
I’ve been Googling for a bit trying to figure out a solution, without any luck. I found some notes that it’s a Lambda issue, but haven’t been able to confirm anything.
Here’s the JSON that is being passed as the event:
I’m not sure about what the problem is but I am sure that there are a few guys on here that are doing the same thing and have posted their code which shows how they are doing it. I would search for AWS Lambda and see if anything helpful comes up until somebody else chimes in.