-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Hi,
I am trying to implement the feedback feature for our teams agents that we created in .net. (https://learn.microsoft.com/en-us/microsoftteams/platform/teams-ai-library/csharp/in-depth-guides/feedback)
We were able to catch the event by creating an agent based on Agent appplication and then triggering the invoke activity.
public class TeamsAgent : AgentApplication
OnActivity(ActivityTypes.Invoke, HandleInvoke, rank: RouteRank.Last);
The function to handle the feedback then returns a Task.completed task
protected async Task<Task> HandleInvoke(ITurnContext turnContext, ITurnState turnState, CancellationToken cancellationToken)
{
var a = turnContext;
await turnContext.SendActivityAsync(new Activity { Type = ActivityTypes.Typing });
return Task.CompletedTask;
}
So the invoke works and I can process the data, but in teams user get this message:
When using the teams browser the http invoke call returns the following json
{
"errorCode": 1008,
"message": "<BotError>Agent returned unsuccessful status code NotImplemented",
"standardizedError": {
"errorCode": 1008,
"errorSubCode": 1,
"errorDescription": "<BotError>Agent returned unsuccessful status code NotImplemented"
}
}
How can properly close the feedback screen without the warning?
Metadata
Metadata
Assignees
Labels
No labels