DomnulZeu
05/30/2024, 4:11 PMVapi Support
05/30/2024, 4:11 PMVapi Support
05/30/2024, 4:11 PMjavascript
import Vapi from '@vapi-ai/web';
const vapi = new Vapi('your-public-key');
vapi.start('your-assistant-id')
.then(() => console.log('Call started'))
.catch(err => console.error('Error starting the call:', err));
[(1)]()
Additionally, make sure that your network configurations, such as firewalls or proxy settings, are not blocking the SDK’s requests. If the problem persists, checking the console for any specific error messages could provide more insight into what might be going wrong.Vapi Support
05/30/2024, 4:12 PMSahil
05/30/2024, 4:14 PMVapi Support
05/31/2024, 10:06 AM