ratty-blush
ratty-blush5mo ago

404 when connecting to twillo

I tried connecting number from twillo to Vapi, and every time i call it im getting Application error, and i see this in Twillo logs: Message Got HTTP 404 response to https://api.vapi.ai/twilio/voice Error Description We try to provide specific webhook errors whenever possible, however in this instance we are unable to identify the exact cause of the webhook delivery/response issue. To prevent 11200 errors, ensure that your webhook receiving infrastructure can quickly respond to inbound Twilio requests with a 2xx status code.
8 Replies
Vapi
Vapi5mo ago
Thanks for sharing those details! I couldn't find enough info in the docs to solve the 404 error you're seeing when connecting your Twilio number to Vapi. I'm escalating this to a human teammate so we can get you a proper answer. In the meantime, you might want to double-check your Twilio SIP trunk and Vapi configuration steps, just in case something was missed. Here are some helpful links if you want to review: - Twilio SIP Integration Guide - Importing Twilio Numbers - Setting up Server URLs / Webhooks Hang tight—someone from the team will follow up soon!
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Shubham Bajaj
Shubham Bajaj5mo ago
Please ensure this number is configured correctly on the Vapi side. Hey, You can check out this guide: https://docs.vapi.ai/advanced/sip/sip-trunk for details on integration. Note: This is a standard guide used by many telephony providers, so it should be helpful.
ratty-blush
ratty-blushOP5mo ago
Hello, this number was bought a long time ago thru Vapi, so it should be configured, and I only need inbound. I fixed that bug, I had GET set instead of POST on the webhook, but now I have a problem, when I call it is an application error, and in twillo logs I see the status: no answer, as if vapi did not give an answer?
Shubham Bajaj
Shubham Bajaj5mo ago
Can you send the phone number id, and the request from the webhook that is getting the error?
ratty-blush
ratty-blushOP5mo ago
phone number id from vapi: 0350f2e1-d522-4ee5-91ce-147e00721f19 And webhook settings in photo
No description
ratty-blush
ratty-blushOP5mo ago
hi, i got webhook error again
No description
ratty-blush
ratty-blushOP5mo ago
404 on your webhook i think i should use custom webhook server url, but i cant find it in Vapi dashboard ok nevermind, solved url should be twillo/inbound_call, not twillo/voice
Shubham Bajaj
Shubham Bajaj5mo ago
Glad the issue was resolved. Please reach out to us if you have any other questions regarding this issue

Did you find this page helpful?