OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
429 stars 197 forks source link

Getting `ConversationBlockedByUser` error while attempting to send message #2009

Closed Nikunj0904 closed 11 months ago

Nikunj0904 commented 12 months ago

I have an application build for ms-teams. It's hosted on ms-teams app store. I am trying to send a message through 'conversations.createConversation' method from botframework-connector package. It is working fine all the clients at all the places. Error is coming at only one place and for only client.

microsoft-github-policy-service[bot] commented 12 months ago

Hi Nikunj0904! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

nwojod-MSFT commented 12 months ago

Hi @Nikunj0904, thank you for reporting this issue. In order to investigate further, could you please provide us with more details about the specific scenario that is causing the problem? When you mention that it's working for all clients, could you please clarify what scenario you are referring to? Additionally, can you share a minimum repro step and sample code so that we can try this on our end. Thanks.

Nikunj0904 commented 12 months ago

Hi , I am trying to send message through conversation.createConveration method and doing so in response it is giving error - code - ConversationBlockedByUser message - User blocked the conversation with the bot

For the method I am using bootframework-connerctor package - Link https://www.npmjs.com/package/botframework-connector I went through many documents available but nothing is helpful, can you suggest why and when does this error comes.

Thanks, Nikunj Gupta SDE | Springworks

On Wed, Oct 25, 2023 at 11:04 PM nwojod-MSFT @.***> wrote:

Hi @Nikunj0904 https://github.com/Nikunj0904, thank you for reporting this issue. In order to investigate further, could you please provide us with more details about the specific scenario that is causing the problem? When you mention that it's working for all clients, could you please clarify what scenario you are referring to? Additionally, can you share a minimum repro step and sample code so that we can try this on our end. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/OfficeDev/microsoft-teams-library-js/issues/2009#issuecomment-1779747040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZJJMHRSPG6U4PAQDNECDOTYBFETXAVCNFSM6AAAAAA6PT2I76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZG42DOMBUGA . You are receiving this because you were mentioned.Message ID: @.***>

Prasad-MSFT commented 12 months ago

Hi , I am trying to send message through conversation.createConveration method and doing so in response it is giving error - code - ConversationBlockedByUser message - User blocked the conversation with the bot For the method I am using bootframework-connerctor package - Link https://www.npmjs.com/package/botframework-connector I went through many documents available but nothing is helpful, can you suggest why and when does this error comes. Thanks, Nikunj Gupta SDE | Springworks On Wed, Oct 25, 2023 at 11:04 PM nwojod-MSFT @.> wrote: Hi @Nikunj0904 https://github.com/Nikunj0904, thank you for reporting this issue. In order to investigate further, could you please provide us with more details about the specific scenario that is causing the problem? When you mention that it's working for all clients, could you please clarify what scenario you are referring to? Additionally, can you share a minimum repro step and sample code so that we can try this on our end. Thanks. — Reply to this email directly, view it on GitHub <#2009 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZJJMHRSPG6U4PAQDNECDOTYBFETXAVCNFSM6AAAAAA6PT2I76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZG42DOMBUGA . You are receiving this because you were mentioned.Message ID: @.>

This error denotes that "User has blocked the bot in personal chat or a channel through moderation settings." Could you please follow below steps as mentioned in this doc? Delete the conversation from cache. Stop attempting to post to conversations until interaction with bot is explicitly initiated by a user in the conversation, indicating that the bot is no longer blocked.

microsoft-github-policy-service[bot] commented 11 months ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.