Web snippet is not working properly
# support
h
VAPI web snippet displays the icon and everything correctly but it never connects to the agent to talk
v
I understand you're having an issue with the VAPI web snippet displaying correctly but not connecting to the agent. To help troubleshoot this issue more effectively, could you please provide some additional information: 1. **Browser and device details**: Which browser and device are you using to access the web snippet? Some features may not work properly on older browsers or devices. 2. **Network configuration**: Are you behind any firewalls or using a VPN that might be blocking connections to
vapi.ai
or
*.vapi.ai
domains? 3. **API key verification**: Have you double-checked that the API key being used in the web snippet is correct and hasn't expired? The error "Failed to generate client token" often indicates an API key issue. 4. **Console errors**: Have you checked the browser's developer console for any specific error messages when trying to connect to the agent? 5. **Recent changes**: Have you made any recent changes to your web snippet configuration or VAPI agent settings before this issue started occurring? This information will help me provide more targeted troubleshooting steps for your specific situation. Sources: - [Troubleshooting VAPI web snippet connection issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336399188665040968) - [Common causes of VAPI web snippet failing to connect to agent](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334024569861963788) - [VAPI web snippet configuration settings and their impact on connectivity](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333797946440941639)
k
Hey Hamza, You need to check your web browser console logs for the error message. It will be displaying, and it's pretty much self-explanatory. It might take you some manual work or it might take you some amount of time, but you will end up solving it by yourself. Check out your browser error logs or console logs; you will find out why your calls are not connecting.
4 Views