Voiceflow PartnersVPVoiceflow Partners
Powered by
maxsbondM
Voiceflow Partners•9mo ago
maxsbond

Development Version Not Working with Embedded Widget

I'm trying to test my Voiceflow project using the development version ID via the embedded widget, but it doesn’t seem to load or function properly. Here's the code I'm using:
window.voiceflow.chat.load({
  verify: { projectID: '[MY_PROJECT_ID]' },
  url: 'https://general-runtime.voiceflow.com',
  versionID: 'development',
  userID: user?.id || 'anonymous',
  launch: {
    event: {
      type: 'launch',
      payload: {
        user_name: user?.firstName + ' ' + user?.lastName,
        user_email: user?.primaryEmailAddress?.emailAddress || '',
      },
    },
  },
  render: {
    mode: 'embedded',
    target: chatContainerRef.current,
  },
});
window.voiceflow.chat.load({
  verify: { projectID: '[MY_PROJECT_ID]' },
  url: 'https://general-runtime.voiceflow.com',
  versionID: 'development',
  userID: user?.id || 'anonymous',
  launch: {
    event: {
      type: 'launch',
      payload: {
        user_name: user?.firstName + ' ' + user?.lastName,
        user_email: user?.primaryEmailAddress?.emailAddress || '',
      },
    },
  },
  render: {
    mode: 'embedded',
    target: chatContainerRef.current,
  },
});


Issue: The widget doesn't seem to initialize or respond correctly when using the development version ID. It works fine when switching to production.

Question:
Is it possible to use the development version of a Voiceflow project with the embedded widget? If not, what’s the recommended approach for testing changes in a real client environment without affecting the live (production) version?
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Embedded Widget: Next Message Displays Before Voice Output Completes
hidden-sapphireHhidden-sapphire / ❓┃ask-a-question
9mo ago
Voiceflow widget integration not working on Wix - widget won't appear at all
leoLleo / ❓┃ask-a-question
7mo ago
Widget not reloading wtih page
breezyBbreezy / ❓┃ask-a-question
2y ago
not working
instant-harlequinIinstant-harlequin / ❓┃ask-a-question
2y ago