FlowiseAI / FlowiseChatEmbed

278 stars 1.18k forks source link

Getting 404 on my chatEmbed implementation #127

Closed agerskov closed 3 months ago

agerskov commented 3 months ago

I have been using flowiseAI/chatembed for a long time now, but it has stopped working now.

I've tried using V1.6.0 and 1.6.2, both flowise instances runs fine: image

but chatembed stopped working. Also my postman.co stopped working when i try to get a prediction

I'm running code like this:

const script = document.createElement('script');
script.type = 'module';
script.textContent = `import Chatbot from 'https://cdn.jsdelivr.net/gh/FlowiseAI/FlowiseChatEmbed/dist/web.js';`;
// script.textContent = `import Chatbot from 'https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js;`;
const s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(script, s);

    Chatbot.initFull({
      chatflowid: this.chatId,
      apiHost: this.chatbotBuilderApiHost,
      theme: this.theme ? this.theme : this.defaultConfig,
    });

whether I use my own fork of chatembed, the old or the official chatEmbed i get this error:

Skærmbillede 2024-03-30 162504

and the Console says: Skærmbillede 2024-03-30 162640

Skærmbillede 2024-03-30 165912

agerskov commented 3 months ago

Check if your flowise is set to private.