There are certain issues that can arise that are common to many of the app templates. Please check here for reference to these.
Bot is not valid. Creating the resource of type Microsoft.BotService/botServices failed with status "BadRequest"
This happens when the Microsoft Azure application ID entered during the setup of the deployment has already been used and registered for a bot.
Either register a new Microsoft Azure AD application or delete the bot registration that is currently using the attempted Microsoft Azure application ID.
Bot will reply to the user post with the error message if it finds that it cannot store any additional QnA pair to the Knowledge base
Errors: I cannot save this qna pair due to storage space limitations. Please contact your system administrator to provision additional storage space.
In case of such a scenario, system administrator or the app installer will need to update the pricing tier accordingly for QnA service in Azure Portal.
This happens when the resources are already created or due to some conflicts.
Errors: The resource operation completed with terminal provisioning state 'Failed'
In case of such a scenario, user needs to navigate to deployment center section of failed/conflict resources through the azure portal and check the error logs to get the actual errors and fix it accordingly.
Redeploy it after fixing the issue/conflict.
After initial setup, you will see the "Sorry, my bot code is having an issue" response when trying to interact with QBot within a channel.
Often this is due to misconfigured QBot API settings. QBot solution uses System.Diagnostics.Trace
to output errors and debugging messages.
- Find the QBot API App Service resource in the Azure portal
- Go to App Service Logs blade then turn on Application Logging (File System). Set Level to Verbose
- Open up Log Stream blade, and watch for error messages that might be a clue to the error.
If the bot encounters an error when it is tagged, the issue could be due to the bot being unable to find a user in it's database. This can happen if new users are added to the Team, without synchronising the user to the bot database via the Dashboard Tab.
QBot is a bot deployed in Teams. Please refer to the documentation on how to debug a teams bot
Please report the issue here