The bot encountered an error or bug. To continue to run this bot, please fix the bot source code.

Satya Ramadas Metla 15 Reputation points
2023-03-27T03:33:51.8466667+00:00

Team,

I have created a simple custom question answering service via language studio with app service documentation URL as knowledge base. Its working in Language studio as expected.

KB

I have deployed the knowledge base and attempted to create a BOT. And BOT service was created. However when asked a question got the below response

BOT Response

The bot encountered an error or bug.

To continue to run this bot, please fix the bot source code.

Please refer the screenshot below

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
840 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,895 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Bhaskar Parvataneni 55 Reputation points
    2023-04-12T20:15:15.24+00:00

    Hi Satya, Hope this issue is resolved by now. If not, please check "LanguageEndPointKey" in the App Service (bot App Service) configuration as shown in below screenshot. This value should match with "Language Resource Key" of Language Resource as shown in the 2nd screenshot below. I had similar issue and it is resolved after updating this key. Bot App Service Configuration:User's image

    User's image

    11 people found this answer helpful.

  2. Satya Ramadas Metla 15 Reputation points
    2023-04-05T18:27:50.05+00:00

    Hello @Rajesh M R Same is the result after changing to "Standard" tier. Refer below, Creating a BOT from the below button. And still seeing the same issue. Its working when testimg from knowledge base in custom question answering User's image

    User's image

    User's image


  3. Ana Del Campo 121 Reputation points Microsoft Employee
    2024-01-16T16:50:11.3333333+00:00

    I am experiencing the same issue. The search pricing is standard, I checked all connections to the application, the testing ground on AI Studio works, but the bot does not. I re-deployed the application several times, no dice. Any insights?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.