Webhooks bodies have snake_case but real requests ...
# support
y
Am I stupid? BODY FROM VAPI WEBHOOK LOGS ( snake_case ) : { "message": { "timestamp": 1739833828762, "type": "end-of-call-report", "analysis": { "summary": "The conversation summarized in 2-3 sentences:\n\nMary from Vibomedia contacted Alex Brown of Brown LLC about creating a website for his business. Alex expressed interest and provided his contact information (email: f.shavit@gmail.com, phone: 816-96-3740). A Zoom meeting was scheduled for the following day at 9:30 AM to discuss the website further.", "structured_data": { "name": "Alex", "surname": "Brown", "meeting_time": "tomorrow at 09:30 a.m.", "email": "f.shavit@gmail.com", "company_name": "Brown LLC", "user_status": "ACCEPTED" }, "success_evaluation": "10" }, BODY FROM SERVER LOGS ( camelCase ) : { "message": { "timestamp": 1739833828762, "type": "end-of-call-report", "analysis": { "summary": "The conversation summarized in 2-3 sentences:\n\nMary from Vibomedia contacted Alex Brown of Brown LLC about creating a website for his business. Alex expressed interest and provided his contact information (email: f.shavit@gmail.com, phone: 816-96-3740). A Zoom meeting was scheduled for the following day at 9:30 AM to discuss the website further.", "structuredData": { "name": "Alex", "surname": "Brown", "meeting_time": "tomorrow at 09:30 a.m.", "email": "f.shavit@gmail.com", "company_name": "Brown LLC", "user_status": "ACCEPTED" }, "successEvaluation": "10" }, https://cdn.discordapp.com/attachments/1341204221826957432/1341204222011768942/image.png?ex=67b52544&is=67b3d3c4&hm=d53c2ee8d3d63a3570fcb1ede5e68a3f24431efff0d97aeb6c48652d57590e3f& https://cdn.discordapp.com/attachments/1341204221826957432/1341204222485729354/image.png?ex=67b52545&is=67b3d3c5&hm=862436d79e94f96bee55eddd3dfbc4ad4baa3fb8ee8e8bd8d36d8c2693f29ee7&
Vapi logs: "structured_data": {...} Server logs: "structuredData": {...}
why they differentiate?
I think VAPI needs to choose only one case ( camel or snake ) to display in logs and send to severs.
But for now I cant just copy paste bodies from webhook logs and use them in my test cases
Firstly i need to convert request body to camel case and then I can use it in my test cases
And also I spent about 1 hour to find out the problem - Why parsed object from json body has null fields
k
Thank you for bringing this to our attention. I will share this information with my team and will keep you updated once the issue has been resolved.