blackbond3223
11/17/2025, 2:46 PMCoderik
11/18/2025, 10:49 AMChiranjeet Mishra
11/19/2025, 9:19 AMcurl -X POST https://api.vapi.ai/tool \
-H "Authorization: Bearer YOUR_VAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "function",
"function": {
"name": "getNumberFact",
"description": "Get an interesting fact about a number",
"parameters": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"description": "The number to get a fact about"
}
},
"required": ["number"]
}
},
"server": {
"url": "http://numbersapi.com/{number}",
"method": "GET",
"headers": {
"Accept": "application/json"
}
}
}'Yann
11/21/2025, 12:25 AMYann
11/21/2025, 12:25 AM{
"status": "error",
"timestamp": "2025-11-21T00:23:34.457Z",
"path": "/v2/slots/available?eventTypeId={{eventTypeId}}&startTime={{startTime}}&endTime={{endTime}}&timeZone={{timeZone}}",
"error": {
"code": "NotFoundException",
"message": "Cannot POST /v2/slots/available?eventTypeId={{eventTypeId}}&startTime={{startTime}}&endTime={{endTime}}&timeZone={{timeZone}}",
"details": {
"message": "Cannot POST /v2/slots/available?eventTypeId={{eventTypeId}}&startTime={{startTime}}&endTime={{endTime}}&timeZone={{timeZone}}",
"error": "Not Found",
"statusCode": 404
}
}
}Chiranjeet Mishra
12/04/2025, 4:49 AMX-Twilio-Error: 32202 Authentication failure - bad user credentials
The SIP flow shows Twilio receiving your INVITE and immediately responding with a 403 Forbidden, meaning the request reached Twilio successfully, but the credentials did not match.
Here’s what we recommend:
1. Verify your Twilio SIP Credentials
- SIP username
- SIP password
Make sure they’re the current values and weren’t recently rotated.
2. Confirm the SIP Domain
The domain in the request resolves to:
nexteam@zendesk.sip.twilio.com
Ensure this exact SIP domain is configured correctly in your Twilio console.
3. Regenerate Credentials if Needed
If there's any doubt, regenerate your SIP credentials in Twilio and update them in your Vapi SIP trunk settings.
4. Check Twilio SIP Logs
Twilio will show more detailed authentication failures under your SIP Domain logs.
The good news: This is not a network or firewall issue. Your packets reach Twilio correctly — the issue is strictly an authentication mismatch.blackbond3223
12/05/2025, 1:53 PMChiranjeet Mishra
12/09/2025, 10:40 AM