t
My Vapi integration tools hosted on Sympana are all returning 500 Internal Server errors when called. Affected webhook URLs: https://api.sympana.ai/api/hosted-tools/vapi/4de4f165-ded2-4c11-95d1-7316ef5c61c2 (get_contact) https://api.sympana.ai/api/hosted-tools/vapi/74cf23f1-5f2a-4faf-aa90-898afd98657b (create_contact) https://api.sympana.ai/api/hosted-tools/vapi/31fece6c-8be7-42a1-a372-6fd0e13d81cc (update_contact) Error from Vapi logs: Copy "Your server rejected
tool-calls
webhook. Error: Request failed with status code 500" Example failed request: Tool: get_contact_custom_vapi_4242 Arguments: {"email": "nathanielmeers@pm.me"} Result: 500 error
v
To resolve the 500 Internal Server errors, update your webhook to always return HTTP 200 with the required JSON structure—even when an error occurs. For example:
Copy code
json
{
  "results": [
    {
      "toolCallId": "call_123",
      "error": "Something went wrong"
    }
  ]
}
Returning any status code other than 200 will cause Vapi to ignore the response and log an error. [See troubleshooting guide](https://docs.vapi.ai/tools/custom-tools-troubleshooting) Source: - [Custom tools troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting)
c
Hi, could you provide me with the Call IDs where this issue was occuring? And usually, if your webhook server is returning 500 Internal server error. Then the issue is most probably on the webhook's end. Please review the issue on webhook's end as well