{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1925","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1925/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1925/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1925/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1925","id":197906022,"number":1925,"title":"Error: Dialog[*:/myDialogue] not found.","user":{"login":"iam-peekay","id":5421194,"avatar_url":"https://avatars.githubusercontent.com/u/5421194?v=3","gravatar_id":"","url":"https://api.github.com/users/iam-peekay","html_url":"https://github.com/iam-peekay","followers_url":"https://api.github.com/users/iam-peekay/followers","following_url":"https://api.github.com/users/iam-peekay/following{/other_user}","gists_url":"https://api.github.com/users/iam-peekay/gists{/gist_id}","starred_url":"https://api.github.com/users/iam-peekay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iam-peekay/subscriptions","organizations_url":"https://api.github.com/users/iam-peekay/orgs","repos_url":"https://api.github.com/users/iam-peekay/repos","events_url":"https://api.github.com/users/iam-peekay/events{/privacy}","received_events_url":"https://api.github.com/users/iam-peekay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T19:43:48Z","updated_at":"2016-12-28T20:03:23Z","closed_at":"2016-12-28T20:03:23Z","body":"Hi. I keep getting the above dialogue not found error, even though I've defined the dialogue on the bot. In my default dialogue `/`, I invoked `session.beginDialog('myDialogue');` Then I have the myDialogue defined on the bot as:\r\n\r\n```javascript\r\nbot.dialog('myDialogue', [\r\n    (session, args) => {\r\n      session.send('some text');\r\n      builder.Prompts.text(session, \"what's your name?\");\r\n    },\r\n    (session, results) => {\r\n      if (results.response) {\r\n        session.endDialogWithResult({ response: results.response});\r\n      } else {\r\n        session.endDialog(`I hear birds chirping. Let's move on.`);\r\n      }\r\n    }\r\n]);\r\n```\r\nI'm using the `UniversalBot` and I haven't deployed it yet so I'm just using the emulator to locally test it.\r\n\r\n\r\n```javascript\r\nconst connector = new builder.ChatConnector({\r\n    appId: process.env.MICROSOFT_APP_ID,\r\n    appPassword: process.env.MICROSOFT_APP_PASSWORD\r\n});\r\n\r\nconst bot = new builder.UniversalBot(connector);\r\n\r\nbotServer.post('/api/messages', connector.listen());\r\n```\r\n\r\nI'm confused why even though I've defined the dialogue on the bot, it's not working? any help would be appreciated."}}
{"actor":{"display_login":"iam-peekay"}}