API "Null" Error
# support
v
Hi @Dillon, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
d
Hey Vapi Team, I'm experiencing an issue with the API calls made today. All the responses are returning null values. Specifically, the call.recordingUrl ({{$1.body.message.call.recordingUrl}}), call.startedAt ({{$1.body.message.call.startedAt}}), and many more variables are now getting null values. This problem did not occur on Friday, but it seems to have started after the weekend. The issue is not happening on the Vapi dashboard, but only when using the API. Could you please assist in resolving this issue?
v
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [List Calls]() * [Get Call]() * [Create Phone Call]() * [Get Phone Number]() -----------------------------
### Answer Hello, It sounds like you are experiencing an issue with missing or null values in your API response data, specifically regarding
call.recordingUrl
and
call.startedAt
. This could potentially be a bug or a system-wide issue that occurred after recent updates or changes. Unfortunately, based on the information provided in my sources, there is no direct reference to a known issue or troubleshooting steps for null values in these API responses. To address this issue effectively, it might be best to directly consult the official support or technical team for a deeper investigation into your specific case. For immediate troubleshooting, ensure that your API requests are correctly formatted and that any query parameters or body contents are correctly specified as per the API documentation. You may also want to review any recent changes on your side that could affect the API calls. If you continue to experience issues, reaching out to the support team with specific details of your requests and the issues observed would be the next best step.
Got it. Tagging @User for additional help.
s
call_id pls
d
I will dm you a sheet for the calls
@Sahil I Sent you a spreadsheet in your dms with all the NULL information we are getting.
s
If you see the sheet most of the number are either customer-did-not-answer or customer-busy due to which this issue occured.
d
I'm sending you the full sheet. Please look at the time stamps. and all the other null columns. It was working good before the weekend. Now we did not chnage anything on ourside and we are getting back Null.
Problem is that the recording and cost shows on Vapi's Front end but not with the API.
s
Can you just send me the latest call_id directly in the chat?
d
Good Call ID's: 5ef7fbb2-8796-4808-a44f-2ff73ed447a1 85b1d746-e1b5-400c-8d4f-6d96241f283b 14e0b503-3a96-46aa-bfba-f2e7ac78a23b
_________________ Null Call ID's: 999fa29a-ff5b-4d62-969e-897638258b88 76a7d673-c81b-44f8-a72d-e223b5d1a6f9 de284df6-061e-44a4-8ffc-69f1691bebf0
s
Null Call IDs are going to voicemail most probably your number is marked as spam. Try with another phone number.
d
oh okay good to know! Thanks @Sahil
Also, How come is it showing the recordings for the front end only @User
all the null values are being shown on your frontend and not the backend
s
Sometimes the end-of-call-report are stale due to performance issue. You can wait 60secs and trigger the api request to /call/call-id which you get from the call-end-report. You will get all the data.
2 Views