Forum Discussion
domix1996
Jan 31, 2024Copper Contributor
Problem with Bot configuration - Agent returned unsuccessful status code InternalServerError
I have a problem with the configuration of the bot in message-extension. I am using the app in MS Teams for both the bot (message-extension in channels only) and tabs for personal use. Everything locally worked. As I published for the organization, only tabs works, message-extension does not respond to the query and to the others, that is, the whole for the bot solution does not work.
After checking in the console, I see something like this:
Locally for the bot, I use the Bot Framework implemented by https://dev.teams.microsoft.com/, while the production version of the bot is generated for Azure as Azure Bot.
This is the configuration I have for env local files:
For the production version, on the other hand, I have these:
In addition, the Bot was converted to ES6 language, I defined it in package.json to read the type as a module:
The manifest.json is set up like this:
...
I'm missing an idea of what to set in Azure or what to set in code to make message-extension start responding to user requests....
Could you advise me?
- LeonPavesicSilver Contributor
Hi domix1996,
I am not sure if this helps you, but there is a global issue active regarding using a chat bots:
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)- domix1996Copper Contributor
LeonPavesic Where can I find the latest information about this incident and the resolution of the problem from the global level ?
- LeonPavesicSilver Contributor
Hi domix1996,
this message (or these kind of messages) are available in Microsoft 365 Admin Center (https://admin.microsoft.com/) under Health > Service Health.
How to check Microsoft 365 service health - Microsoft 365 Enterprise | Microsoft Learn
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)