API call
# support
z
We handle a high volume of calls and have set up automations with API calls. However, we’ve noticed that approximately 30% of these API calls fail without any clear reason. The API call is made, and a success response is returned. The call appears on the API dashboard, but no further information is provided. When we manually copy and paste the number into the VAPI dashboard, the call works. Unfortunately, doing this 100+ times per day isn’t feasible. What could cause of this issue? Are there any potential solutions? Looking forward to your support. Here is a list of call IDs that are showcasing the issue : 70eceee2-d54d-4005-a2ea-e0f19865fcce ed569fa0-35d7-4142-992f-084c7c148a6e ad69465b-256f-45b8-a155-78f132773a7c fc32aa77-c865-46fd-8bd2-b2d02f31c161 45df373e-7ba6-481f-8db2-95c8736eaacc ff9f61fe-6af4-49c5-9a4e-f7464aafa9b7 485ff68d-f157-4040-aa9f-588d1fc04305 b9e21882-0bcd-46dd-9f41-e513bdf9dce5 b2d4cad7-1183-486d-94c3-0d9b9b4dfabe 707fe208-ce6e-4c9f-b6e5-76700aa9959d 6e43f114-5310-40fd-a8b8-128414c3b008 25135d3b-caed-4300-b560-647bb39924f5 84a4b962-1b92-4d6a-9389-42d111dbab61 c6d1ecdd-c695-4caa-a882-0f2e733e994d 308eb6cb-b2a9-48bf-801b-079a2876771e ce1fee0d-5fc4-4de5-9ffd-184c64c997d1 f072402d-9f8f-497e-8918-a1eb28b7578e a91f1af1-bcb0-492a-880e-a9808dbd8e67 e878b379-5cbc-464b-aed2-8ee354162499 e878b379-5cbc-464b-aed2-8ee354162499 410bcff1-57ea-44bd-ab50-36d8d61f1e4f a68b87b0-f886-4da6-b12d-a8c454018186 dca71081-27e3-42a2-abed-2b43812b99c4
v
@ZamYusi I'm sorry to hear that you're experiencing issues with your API calls. Based on the symptoms you've described, there could be several potential causes for the API call failures: 1. **Network Issues**: Intermittent network connectivity problems could cause API calls to fail or not connect properly. 2. **API Rate Limiting**: If you're sending a high volume of calls, you might be hitting rate limits set by the API, which could cause some calls to fail. 3. **Configuration Errors**: There might be discrepancies in the automated setup versus manual input that are not immediately apparent. 4. **API Bugs or Glitches**: There could be a bug within the API that is causing intermittent failures. 5. **Payload Issues**: The data payload sent with the API call might have occasional formatting issues or missing information that isn't caught by initial validation. To troubleshoot this issue, I would recommend the following steps: 1. **Review API Logs**: Check the detailed logs for the failed call IDs to see if there are any common patterns or error messages. 2. **Check Configuration**: Ensure that the automated setup is configured correctly and matches the manual input that works. 3. **Rate Limits**: Verify if you're hitting any rate limits and adjust your call patterns accordingly. 4. **Contact Support**: Since you've provided a list of call IDs, the VAPI support team can investigate these specific cases to provide more insight. 5. **Test in Stages**: If possible, test your API calls in smaller batches to see if the issue persists and to isolate the cause. If you'd like, I can assist you further by contacting the support team with the call IDs you've provided to investigate the issue. Would you like me to proceed with that?
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
c
Why not make an automation for this? You should not be going in the dashboard all the tiome any way really.
z
? It is automated. The automation is failing even were the API calls are succesful.
c
So what is the error? Can you share something?
z
There is no error, however the call is not going through This is the results we are getting When we do with the API Call When we do manually the call is going through......... https://cdn.discordapp.com/attachments/1324988517570445324/1325527540999127141/image.png?ex=677c1d38&is=677acbb8&hm=7d2cf198275d0ba40b29a859c8b0323f55815ee9d8d4f5e272dbf55c868bec62&
@User @User
c
Are you free?
s
@ZamYusi checking if this issue is resolved for you?
3 Views