Skip to content
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

The bot is not part of the conversation roster. #1470

Open
JonoSuave opened this issue Dec 2, 2024 · 3 comments
Open

The bot is not part of the conversation roster. #1470

JonoSuave opened this issue Dec 2, 2024 · 3 comments
Assignees

Comments

@JonoSuave
Copy link

I'm trying to serve up the ai-doc-compliance-checker sample, but keep running into the following error when debugging locally:
The bot is not part of the conversation roster.

I've uploaded a ProposalDocument.pdf and PolicyGuidelineDocument.pdf in blob storage and typed in ProposalDocument into the compose msg ext search input. Here's the full error:

[onTurnError] unhandled error: RestError: The specified resource name length is not within the permissible limits.
RequestId:97db2fa9-601e-000c-28e8-44e78f000000
Time:2024-12-02T18:29:16.4883403Z
RestError: The bot is not part of the conversation roster. 
 {
  "name": "RestError",
  "code": "BotNotInConversationRoster",
  "statusCode": 403,
  "request": {
    "streamResponseStatusCodes": {},
    "url": "https://smba.trafficmanager.net/amer/0370dee5-92d4-484a-a2c5-95000b78433e/v3/conversations/19%3A78ef0be4-ce3a-4b18-9c13-74e3c2db5d60_af43bacc-a082-4e40-9251-8fdd3f40efd3%40unq.gbl.spaces/activities/f%3Af28310e8-47dc-5494-ba4a-567dcebe547a",
    "method": "POST",
    "headers": {
      "_headersMap": {
        "content-type": "application/json; charset=utf-8",
        "x-ms-conversation-id": "REDACTED",
        "accept": "*/*",
        "user-agent": "Microsoft-BotFramework/3.1 botframework-connector/4.22.3 core-http/3.0.4 Node/v18.18.2 OS/(x64-Darwin-24.1.0)",
        "authorization": "REDACTED"
      }
    },
    "withCredentials": false,
    "timeout": 0,
    "requestId": "7d5ac541-693e-4f83-a4f9-3d8f0f5eb83e"
  },
  "details": {
    "error": {
      "code": "BotNotInConversationRoster",
      "message": "The bot is not part of the conversation roster."
    }
  },
  "message": "The bot is not part of the conversation roster."
}
@Nivedipa-MSFT
Copy link
Collaborator

@JonoSuave - Thank you for your inquiry about your Teams app development issue!
To assist you better, could you please provide the following details?
Sample Link: Please share the sample link.
Reproduction Steps: Please share the steps you took to encounter the issue.
Documentation Links: Any specific documentation you followed that relates to your problem.
Teams Client Version: What version of the Teams client are you using?
Manifest Package: If applicable, please share the manifest package for your app.

This information will help us better understand the situation and provide a more accurate response.

@JonoSuave
Copy link
Author

Sample Link:
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-ai-doc-compliance-checker

Reproduction Steps: Follow the repo's instructions by creating an anonymous access Azure storage blob container. Upload two files, PolicyGuidelineDocument.pdf and ProposalDocument.pdf. Create an Azure OpenAI gpt-35-turbo model to get the END_POINT, API_KEY, and DEPLOYMENT_ID. Populate the variables in the .localConfig. Click the Debug in Teams (Edge) option, add the app, add the Compliance Checker message extension from the compose input of a conversation, and then type in ProposalDocument.

@Nivedipa-MSFT one thing I'd like to confirm is whether the Deployment Id is gpt-35-turbo? If not, were do I find the deployment id?
Screenshot 2024-12-03 at 4 31 22 AM

@Nivedipa-MSFT
Copy link
Collaborator

@JonoSuave - We have tested msgext-ai-doc-compliance-checker sample using Teams Toolkit and encountered the same error. The sample team is investigating it. We will let you know once we have any updates.

image

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

No branches or pull requests

4 participants