microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.59k stars 1.54k forks source link

Failed to send activity: bot returned an error #4273

Closed AkhilSainath closed 2 years ago

AkhilSainath commented 2 years ago

image

please do help me out

lauren-mills commented 2 years ago

HI @AkhilSainath, can you provide any more details around how you are setting up your web chat client code? Also, does your bot work in the Bot Framework Emulator and the Test in Web Chat tab in the Azure Portal?

This information will help us better assist you.

AkhilSainath commented 2 years ago

Yes, it works in an emulator, I implemented OAuthPrompt to signin. It worked and i deployed it as well.

But my team wants that prompt to be not appearing, so I tried yours, cross cheked multiple times. It didn't work.

I followed the same steps in your code and in fact I used your same code repo... but it didn't work.

Can I please get some of your time to help me out in this (whenever you can).

Thanks & Regards,

Akhil

On Thu, May 5, 2022 at 11:13 PM lauren-mills @.***> wrote:

HI @AkhilSainath https://github.com/AkhilSainath, can you provide any more details around how you are setting up your web chat client code? Also, does your bot work in the Bot Framework Emulator and the Test in Web Chat tab in your Azure settings?

This information will help us better assist you.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/BotFramework-WebChat/issues/4273#issuecomment-1118873359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAHSIUWF5WCXCE66XR6TLLVIQCDLANCNFSM5VELQ5JQ . You are receiving this because you were mentioned.Message ID: @.***>

lauren-mills commented 2 years ago

Are these the sample and instructions you followed? https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication

It's unclear which code you are referencing in your messages.

AkhilSainath commented 2 years ago

Yes, i followed these

https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication

Thanks & Regards,

Akhil

On Fri, 6 May 2022 at 1:08 AM, lauren-mills @.***> wrote:

Are these the sample and instructions you followed? https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication

It's unclear which code you are referencing in your messages.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/BotFramework-WebChat/issues/4273#issuecomment-1118977401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAHSISHU667XVVALDH3PHDVIQPURANCNFSM5VELQ5JQ . You are receiving this because you were mentioned.Message ID: @.***>

AkhilSainath commented 2 years ago

Hi Lauren,

Greetings.

Myself and my team is trying to integrate a bot which we developed to the website, we followed the same https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication, we couldn't do it.

even we tried to clone you own repo mentioned in this https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication and we followed the same steps as you said, It didn't work.

Is it possible for you to spend time on this? this weekend. If you want, we are ready to pay you for the same.

Please let us know your thoughts on this?

Thanks & Regards,

Akhil

On Fri, May 6, 2022 at 1:23 AM akhil sainath @.***> wrote:

Yes, i followed these

https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication

Thanks & Regards,

Akhil

On Fri, 6 May 2022 at 1:08 AM, lauren-mills @.***> wrote:

Are these the sample and instructions you followed? https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/07.advanced-web-chat-apps/e.sso-on-behalf-of-authentication

It's unclear which code you are referencing in your messages.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/BotFramework-WebChat/issues/4273#issuecomment-1118977401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAHSISHU667XVVALDH3PHDVIQPURANCNFSM5VELQ5JQ . You are receiving this because you were mentioned.Message ID: @.***>

stevkan commented 2 years ago

@AkhilSainath, are you able to share your web chat code (not including any secrets/keys) in a zip file and post it here? This way, we can diagnose more closely what is happening?

stevkan commented 2 years ago

Closing due to inactivity.

khanfaizan123 commented 2 months ago

did you guys find any solution of this query?