Hi, I'm facing a critical issue with webhook calls in production. The error is: "Parse Error: Missing expected CR after header value" The webhook works fine in Postman/curl but fails when triggered by Vapi. Can you help me fix this ASAP? This is for a client with high traffic. Thanks!
Details :
Call ID: 019a113f-7b8f-7bb7-a9b1-bda7ca9703e7
Assistant ID: 019a113f-7b8f-7bb7-a9b1-bda7ca9703e7
Timestamp: 1761225970462000000
Issue: The server is rejecting the tool-calls webhook with the error "Parse Error: Missing expected CR after header value". This error occurs during tool-call executions from Vapi.
Expected: The webhook should process the tool-call request without any parsing errors, and Vapi should be able to correctly interpret the server’s response, with no CRLF formatting issues or missing headers.
Browser: Chrome Version 131.0.6778.139 (Official Build) (64-bit) (web call)
Screen Shot: [attached]
Error Json :
{
"id": "log-19",
"level": 50,
"time": 1761225970462,
"timestamp": 1761225970462000000,
"severityText": "ERROR",
"severityNumber": 17,
"body": "Server error: Your server rejected
status-update
webhook. Error: Parse Error: Missing expected CR after header value",
"attributes": {
"category": "system",
"callId": "019a113f-7b8f-7bb7-a9b1-bda7ca9703e7",
"orgId": "b12345c6-405e-40a0-bc06-254ebaf2821c"
}
}
https://cdn.discordapp.com/attachments/1228667357849849856/1430928639045927106/Screenshot_from_2025-10-17_02-34-12.png?ex=68fb8fa4&is=68fa3e24&hm=8b149210e5bc6b9f6864bf1d3034c7c44b6526af6799c5571e1afc95cb8bc968&