Spreadsheet Knowledge Base Issues
# support
f
I’m building a make.com scenario where I’m making a HTTP request to vapis query tool. The URL endpoint works for a POST as well as a GET, But not for a PATCH. the error I keep getting is error 400 Tool not found. But it doesn’t make sense because it works for post and get. Maybe I’m missing something for the patch endpoint but I have in place the endpoint from the vapi documentation plus the tools ID number right after it. If someone can see what I’m missing I’d greatly appreciate it, thanks
v
When using PATCH requests with Vapi, ensure you're using the correct tool ID format in the URL path. Try this format:
Copy code
curl -X PATCH https://api.vapi.ai/tool/YOUR_ACTUAL_TOOL_ID \
     -H "Authorization: Bearer YOUR_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
  "type": "YOUR_TOOL_TYPE"
}'
Make sure you're using the actual tool ID (not the tool name) and include the proper Content-Type header. Sources: - [Vapi API Documentation Update Tool](https://docs.vapi.ai/api-reference/tools/update) - [Discord Channel Tool ID vs Tool Name](https://discord.com/channels/1211482211119796234/1338953413886480425)
7 Views