Skip to content

Exception: "Operation returned an invalid status code 'badrequest'" is returned when Agent types @Bot GetRequests to get the pending accepted requests from Telegram channel. #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gtejeda opened this issue Feb 5, 2020 · 1 comment

Comments

@gtejeda
Copy link

gtejeda commented Feb 5, 2020

Greetings guys,
I'm having a similar issue to #53, but on the Telegram channel.

I tried the fix for Teams and no luck.
my stack trace looks like this:

Any help would be greatly appreciated.

`Microsoft.Bot.Connector.ConversationsExtensions.ReplyToActivityAsync(IConversations operations, String conversationId, String activityId, Activity activity, CancellationToken cancellationToken)

at Microsoft.Bot.Builder.BotFrameworkAdapter.SendActivitiesAsync(ITurnContext turnContext, Activity[] activities, CancellationToken cancellationToken) at Microsoft.Bot.Builder.TurnContext.<>c__DisplayClass22_0.<g__SendActivitiesThroughAdapter|1>d.MoveNext() --- End of stack trace from previous location where exception was thrown ---

at Microsoft.Bot.Builder.TurnContext.SendActivityAsync(IActivity activity, CancellationToken cancellationToken)

at mybots.web.Bot.Services.HandoffMiddleware.CommandHandling.CommandHandler.HandleCommandAsync(ITurnContext context) in D:\dev\mybots\src\mybots.web\Bot\Services\HandoffMiddleware\CommandHandling\CommandHandler.cs:line 268

at mybots.web.Bot.Services.HandoffMiddleware.Middleware.HandoffMiddleware.OnTurnAsync(ITurnContext context, NextDelegate next, CancellationToken ct) in D:\dev\mybots\src\mybots.web\Bot\Services\HandoffMiddleware\Middleware\HandoffMiddleware.cs:line 105

at mybots.web.Bot.Services.HandoffMiddleware.Middleware.CatchExceptionMiddleware1.OnTurnAsync(ITurnContext context, NextDelegate next, CancellationToken cancellationToken) in D:\dev\mybots\src\mybots.web\Bot\Services\HandoffMiddleware\Middleware\CatchExceptionMiddleware.cs:line 35 `

@shujaatsiddiqui
Copy link

Did you find any fix? I am also facing the same issue on teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants