Bot is not working from external website

Hi,

My bot is working fine when opened from Bot editor but not when i integrated with external html page.
I am getting error as builtin_text not found .

Am attaching my builtint_text file that has the lbs0Re message. But looks like bot is not picking up that

Am using bot on Mac on Botpress 11_9_3 on Mac.

My Html code

<html>
<head>
<script src="http://localhost:3000/assets/modules/channel-web/inject.js"></script>
</head>
<body>
Sample page
</body>
<script>
        window.botpressWebChat.init({ host: 'http://localhost:3000', botId: 'Nexa' })
                </script>
</html>
````Preformatted text`
 
When i say hi to bot, i found the below error message in log 

  

bp:dialog (Nexa) [z3AS4gXX8UuhjJ6sHfXEH] render element “#!builtin_text-lbs0Re” +20s
13:06:59.118 DialogEngine Error processing “say #!builtin_text-lbs0Re”
Err: Content element “!builtin_text-lbs0Re” not found
Flow: main.flow.json
Node: entry [Error, Content element “!builtin_text-lbs0Re” not found]
STACK TRACE
Error: Content element “!builtin_text-lbs0Re” not found
at DialogEngine._reportProcessingError (/snapshot/build-mac/out/bp/core/services/dialog/dialog-engine.js:0:0)
at DialogEngine. (/snapshot/build-mac/out/bp/core/services/dialog/dialog-engine.js:0:0)
at Generator.throw ()
at rejected (/snapshot/build-mac/out/bp/core/services/dialog/dialog-engine.js:0:0)
at tryCatcher (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/promise.js:690:18)
at _drainQueueStep (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/kappagsi/Downloads/botpress-v11_9_next-2019-05-21-darwin-x64/modules/.cache/module__0d92e45acb6587a48fca5bf12039dcea04d4f1f731482cc6548205bb16ee42d1/node_production_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:696:18)
at tryOnImmediate (timers.js:667:5)
at processImmediate (timers.js:649:5)
at process.topLevelDomainCallback (domain.js:121:23)



Below is the context file -- Bolded is the context that bot was saying not found.
[
  {
    "id": "builtin_text-pSsHWg",
    "formData": {
      "text$en": "👋, {{user.nickname}}!",
      "variations$en": [
        "Hello, {{user.nickname}}!",
        "Welcome to Botpress, {{user.nickname}}!"
      ],
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T00:57:36.026Z",
    "modifiedOn": "2019-05-26T06:32:48.189Z"
  },
  {
    "id": "builtin_text-AY5SSW",
    "formData": {
      "text$en": "This is the first time we speak 🤖",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T00:59:51.118Z",
    "modifiedOn": "2019-05-26T06:32:48.195Z"
  },
  {
    "id": "builtin_text-bFsOmf",
    "formData": {
      "text$en": "We already spoke {{temp.$r}} times!",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T01:00:37.593Z",
    "modifiedOn": "2019-05-26T06:32:48.202Z"
  },
  {
    "id": "builtin_text-TtzrCV",
    "formData": {
      "text$en": "Alright, I have forgotten your name.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T01:06:41.963Z",
    "modifiedOn": "2019-05-26T06:32:48.207Z"
  },
  {
    "id": "builtin_text-z0J9qh",
    "formData": {
      "text$en": "May I know your name please?",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T01:08:41.241Z",
    "modifiedOn": "2019-05-26T06:32:48.213Z"
  },
  {
    "id": "builtin_text-X069Le",
    "formData": {
      "text$en": "Try saying something like \"forget my name\"!",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T01:16:53.227Z",
    "modifiedOn": "2019-05-26T06:32:48.218Z"
  },
  {
    "id": "builtin_text-kKQ8C3",
    "formData": {
      "text$en": "(To see how this works, double-click anywhere on the flow and go to the \"Transitions\" panel)",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2018-05-14T01:17:55.317Z",
    "modifiedOn": "2019-05-26T06:32:48.224Z"
  },
  {
    **"id": "builtin_text-lbs0Re",**
**    "formData": {**
**      "text$en": "Hey, This is Nexa. I would like to help you understand N8 Basic questions",**
**      "typing$en": true,**
**      "variations$en": []**
**    },**
    "createdBy": "admin",
    "createdOn": "2019-03-25T16:41:48.068Z",
    "modifiedOn": "2019-05-26T09:24:45.221Z"
  },
  {
    "id": "builtin_text-sRxAPP",
    "formData": {
      "text$en": "Bot Memory is used by the bot to store information about a conversation. Here's an example.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T16:55:01.413Z",
    "modifiedOn": "2019-05-26T06:32:48.238Z"
  },
  {
    "id": "builtin_text-6RY1f5",
    "formData": {
      "text$en": "A bot could ask questions that are similar but have different meanings. To differentiate between the meanings of these questions, we use Contexts.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T17:02:32.795Z",
    "modifiedOn": "2019-05-26T06:32:48.243Z"
  },
  {
    "id": "builtin_text-UP2ozm",
    "formData": {
      "text$en": "Please pick an animal from the choices, I'm not a Zoologists.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T18:05:07.711Z",
    "modifiedOn": "2019-05-26T06:32:48.248Z"
  },
  {
    "id": "builtin_text-lALv5x",
    "formData": {
      "text$en": "Please ask questions about that animal, like its life span or its habitat.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T18:14:48.625Z",
    "modifiedOn": "2019-05-26T06:32:48.253Z"
  },
  {
    "id": "builtin_text-bOU5xw",
    "formData": {
      "text$en": "Please refer to our [documentation](https://botpress.io/docs/build/memory) to learn more about Bot Memory.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T18:29:05.998Z",
    "modifiedOn": "2019-05-26T06:32:48.257Z"
  },
  {
    "id": "builtin_text-SKQxXN",
    "formData": {
      "text$en": "Ask me something thats included in the choices. Let's try again.",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T18:40:32.874Z",
    "modifiedOn": "2019-05-26T06:32:48.263Z"
  },
  {
    "id": "builtin_text-T8Oa8M",
    "formData": {
      "text$en": "To learn more about how to setup a Contextual FAQ, please refer to our [tutorial](https://botpress.io/docs/tutorials/contextual-faq)",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T19:53:14.411Z",
    "modifiedOn": "2019-05-26T06:32:48.268Z"
  },
  {
    "id": "builtin_text-yFOIFD",
    "formData": {
      "text$en": "Tell me if you need help!",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-03-25T22:02:33.058Z",
    "modifiedOn": "2019-05-26T06:32:48.272Z"
  },
  {
    "id": "builtin_text-0k_I0U",
    "formData": {
      "text$en": "Certainly. Lets further drill down on what you want to-know? ",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-05-26T09:54:54.627Z",
    "modifiedOn": "2019-05-26T09:54:54.627Z"
  },
  {
    "id": "builtin_text-vQ5t1_",
    "formData": {
      "text$en": "Enter the Jurisdiction of your interest(e.g.: federal,flsui,gasit etc)",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-05-26T10:36:33.245Z",
    "modifiedOn": "2019-06-01T17:05:22.286Z"
  },
  {
    "id": "builtin_text-XULdTJ",
    "formData": {
      "text$en": "Please enter any valid jurisdiction",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-05-26T10:38:53.544Z",
    "modifiedOn": "2019-06-01T17:05:40.872Z"
  },
  {
    "id": "builtin_text-asHXht",
    "formData": {
      "text$en": "Ok.Lets Drill down a bit further. Please choose the topic you are interested in !!",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-05-26T16:43:36.964Z",
    "modifiedOn": "2019-05-26T16:43:36.964Z"
  },
  {
    "id": "builtin_text-OmiVTW",
    "formData": {
      "text$en": "Here are your deposits  {{}session.response}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-05T08:07:31.471Z",
    "modifiedOn": "2019-06-05T08:07:31.471Z"
  },
  {
    "id": "builtin_text-bmPPh3",
    "formData": {
      "text$en": "Here are your deposits {{session.response}}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-05T08:14:13.135Z",
    "modifiedOn": "2019-06-05T08:14:13.135Z"
  },
  {
    "id": "builtin_text-y7ZkUW",
    "formData": {
      "text$en": "Hold on a moment. I Am   fetching deposits in {{session.DepositStatus}} status and\n {{session.extractedSlots.Jurisdiction.value}}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-05T09:56:43.846Z",
    "modifiedOn": "2019-06-05T17:19:51.820Z"
  },
  {
    "id": "builtin_text-2B7aSy",
    "formData": {
      "text$en": "Here are requested details. The  {{session.response.body.status}} deposits for {{session.response.body.agencyCode}} Agency is {{session.response.body.amount}}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-05T10:41:10.707Z",
    "modifiedOn": "2019-06-05T11:18:40.789Z"
  },
  {
    "id": "builtin_text-pueRp4",
    "formData": {
      "text$en": "Hold on a moment!!. I am fetching the filings count for {{session.FilingStatus}} and {{session.extractedSlots.FilingJuris.value}} ",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-05T14:22:44.995Z",
    "modifiedOn": "2019-06-07T10:06:59.668Z"
  },
  {
    "id": "builtin_text-1egYjv",
    "formData": {
      "text$en": "Hold On a Moment !! {{session.filingResponse.body.filingFormDetailsList.0.formCode}}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-06T11:36:10.626Z",
    "modifiedOn": "2019-06-06T12:04:00.391Z"
  },
  {
    "id": "builtin_text-WrzgWJ",
    "formData": {
      "text$en": "Here are your filing counts of all forms in  {{session.extractedSlots.FilingJuris.value}}  --> {{session.Filingresponse.body.filingCountResponse}}",
      "typing$en": true
    },
    "createdBy": "admin",
    "createdOn": "2019-06-07T12:16:32.821Z",
    "modifiedOn": "2019-06-07T12:24:33.648Z"
  }
]

Hi,

Your builtin_text-lbs0Re is surrounded by ** ** to enlighten where it is ?

I think it doesn’t bold when in a code block. Consider removing the ** because at first I thought it was where the issue came from.

Try to format your text so it’s a bit more understandable (for example put the Stack Trace in a
preformatted text block and make sure description of it is not in it), it helps you by helping other understand your problem.


Also, please don’t make multiple post about your issue, edit this one instead. Making topics multiples times doesn’t help your case and makes it harder to help other.

Sure [vgalisson]. Thank you for your tips.

My first post was hidden by System Akismet. So ended up in creating a duplicate post again. Sorry about that. But never wanted to create two posts for resolving the issue quickly.

Hi is this problem solved? im facing the same problem :frowning:
Thanks