While trying to perform SDK calls using the Vapi's Go SDK to retrieve the calls made by an assitant that has the transfer tool:
assistantCalls, err := VapiClient.Calls.List(context.Background(), &vapiApi.CallsListRequest{
AssistantId: vapiApi.String(assistant.VapiAssistantId),
})
I get: cannot be deserialized as a *api.CallDestination error, which is internal to Vapi's Go SDK, not our code. This only happens when the transfer tool is enabled.
While trying to perform SDK calls using the Vapi's Go SDK to retrieve the calls made by an assitant that has the transfer tool:
I get:
cannot be deserialized as a *api.CallDestinationerror, which is internal to Vapi's Go SDK, not our code. This only happens when the transfer tool is enabled.