Comments (7)
Hi @JhontSouth,
We create the instance of ConnectorClient
as follows where serviceUrl
is the serviceUrl value from the related conversation, nothing fancy:
const credentials = new MicrosoftAppCredentials(
getEnv('MICROSOFT_APP_ID'),
getEnv('MICROSOFT_APP_PASSWORD'),
)
return new ConnectorClient(credentials, { baseUri: serviceUrl })
The good news is we have resolved not being able to trap this RestError as it was a deployment issue on our side. Our path forward at this point is removing the conversation records that throw these errors from our system when they occur. This issue can likely be closed until the error is reproducible.
from botbuilder-js.
Hi @seanhsmith
We have not been able to replicate the error when getting the list of members of a conversation in different channels.
In our tests, the data extracted from the method getConversationPagedMembers returned the members list without problems.
Could you please tell us which channel you are using and if this error happens after a re-call with continuationToken or randomly?
from botbuilder-js.
Hi @JhontSouth, we have also been unsuccessful in reproducing this ourselves as well. We are adding additional logging around this code to try and identify some specific conversations with which this is happening. We also don't know what channels are involved, just the conversation.
I just checked the most recent instances of this error in our logs and it looks like none of them specify a continuationToken
but recalls also do not succeed. It's as if the conversation being requested just begins to throw the error. One thing we noticed is documentation around the serviceUrl
that suggests that it should be stable but that it could change. If the serviceUrl
did change and the old one was still being used for the request, could it possibly result in this error?
I can provide client tenant and conversation ID examples when I have them, provided we can do it in a secure manner, and so long as it's not potentially violating Microsoft Teams TOS.
from botbuilder-js.
Hi @seanhsmith,
Thank you very much for your information. We will analyze if the serviceUrl is involved.
We look forward to receiving more details about the error.
from botbuilder-js.
Hi @seanhsmith,
We tested changing the ServiceURL value in the middle of the conversation, but it caused a different kind of error (bad syntax - bad format of conversation ID). It seems related to the conversationId format that each channel required.
So, unfortunately, we couldn't reproduce the issue.
Could you share with us the method that you're using to create the ConnectorClient instance?
Additionally, could you provide us a simplified project? To understand the architecture that you're using.
from botbuilder-js.
Related Issues (20)
- Extensibility for Teams AI - ability to add to User Agent for Teams AI telemetry HOT 3
- Vulnerable recognizers-text-suite is still in use in botbuilder-dialogs HOT 1
- The bot builder framework should support SharePoint bot driven ACEs
- Fix Teams config typings
- scoreThreshold no longer works in 4.17.0 and later HOT 3
- handleTeamsTaskModuleFetch not opening popups on iOS HOT 1
- Can't start basic Echo bot HOT 2
- Microsoft.HttpRequest does not support HEAD method
- Security Alert: lodash.trimend vulnerability in botbuilder-dialogs HOT 1
- "handleTeamsMessagingExtensionBotMessagePreviewSend" method not hitting in my code. HOT 5
- UserAssignedIdentity(WorkloadIdentity) auth fails with 'scope https://api.botframework.com is not valid' HOT 5
- ChannelAccount cannot accept extensible properties
- Content Type is not set on uploaded blobs
- replyToId not part of token response of oauthprompt HOT 12
- @azure/msal-node and @azure/msal-browser versions are deprecated (both have new major versions)
- Add support for isVisible property in SharePoint Bot Adaptive Card Extension
- 'yarn' command not found while installing 'botbuilder-dialogs' HOT 2
- port: Add zh-cn to supported locales HOT 1
- handleTeamsMessagingExtensionCardButtonClicked method is not working. HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botbuilder-js.