Search code examples
azureazure-devopsazure-web-app-servicebotframeworkazure-bot-service

There was an error sending this message to your bot: HTTP status code NotFound error in test in web chat


I have created a simple empty nodejs chatbot with azure compose. And then created a resource group and published it to azure. I have followed these 2 links

  1. Create a weather chatbot - https://learn.microsoft.com/en-us/composer/tutorial-create-weather-bot#create-a-new-dialog
  2. Deploy the chatbot to azure - https://learn.microsoft.com/en-us/composer/how-to-publish-bot?tabs=v2x

But I was getting the error HTTP status code NOT Found error. I tried all the StackOverflow solutions available online none of them worked.


Solution

    • I have deployed a Weather chat-bot to azure using below steps

    • I have Created a Weather chat-bot using composer using the Document that you have provide in the above DOC.

    • It is working in local environment as below

    entestrong textr image description here

    • Now you have to deploy to azure portal from the composer for that follow the below steps.

    • Click on Publish and select manage profile as below.

    enter image description here

    • Click on Add new as below.

    enter image description here

    • Goto Crate new resource and click on Next as below.

    enter image description here

    • Fill the all the required details as below and click on Next.

    enter image description here

    enter image description here

    • After creatin the manage profile and select the profile as below.

    enter image description here

    • Click the check box that bot that you want to deploy to azure portal as blow and click on publish selected bots.

    enter image description here

    • After deploying to azure open resource and click on bot application in azure portal navigate to test in web chat and it's working as below.

    enter image description here

    enter image description here

    enter image description here

    • For More details refer this link follow the step-by-step procedure.