Code snippet not connecting to my Bubble.io app

Hello I am trying to add the Vapi’s code snippet to the HTML of my header on my Bubble app. Web Snippet - Vapi I pasted the code and added my public API key and my assistant ID to the code snippet as well. It now appears on my bubble app however it will not connect to my assistant. My assistant works on Vapi but on bubble it just gets stuck on Connecting… and never connects to the assistant. I would like to note that this code is in Javascript and they recommend to place the code ideally before the closing </body> tag. You can see that here:

What could the error be? Is there something on the HTML code that I am not doing correctly that is not allowing my assistant to connect?


This topic was automatically closed after 70 days. New replies are no longer allowed.