Bia Energy
03/26/2025, 2:18 PMVapi Support Bot
03/26/2025, 2:19 PMjson
{
"server": {
"url": "https://your-endpoint.com",
"timeoutSeconds": 30,
"headers": {
"x-api": "your-api-key"
}
},
"function": {
"async": false,
"name": "yourFunctionName"
},
"type": "function",
"async": false
}
According to [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341644251510997083), placing headers in the wrong location is a common mistake.
### Troubleshooting Steps
Here are some general troubleshooting steps you can try:
1. **Check your webhook configuration**: Ensure the webhook is correctly configured with the proper URL and settings when linking to VAPI.
2. **Browser issues**: Try clearing your browser cache, disabling extensions, or using a different browser.
3. **Inspect network activity**: Use your browser's developer tools to look for failed requests or errors.
4. **Try a different tool type**: Some users have resolved similar issues by using the "Function" tool type instead of other specific types.
5. **Check for header/secret issues**: Headers or secret keys might be getting erased during tool creation. If using a secret, try re-adding it but avoid editing it afterward.
6. **Verify server details**: Double-check your server URL, secret (if applicable), and tool ID.Vapi Support Bot
03/26/2025, 2:19 PMSahil
03/27/2025, 12:45 AM