botbuilder-dotnet icon indicating copy to clipboard operation
botbuilder-dotnet copied to clipboard

CreateDirectConversationAsync return “Bad format of conversation ID“”

Open hulin17 opened this issue 3 years ago • 4 comments

Version

What package version of the SDK are you using. 4.10.3.0

Describe the bug

Give a clear and concise description of what the bug is. I want to init conversation with a user via 1:1 chat in MSTeams Channel. I use the below sample to implement this. But I got the next error. Why this? I got the Bot Channel Account & User Channel Account from "ConversationUpdate".

To Reproduce

Steps to reproduce the behavior: 1.Get access_token. 2. Post the request:https://smba.trafficmanager.net/amer/v3/conversations, with { "bot": { "id": {botId}, "name": {botName}, }, "members": [ { "id": {userId}, "name": {userName}, "aadObjectId": {userAadObjectId} } ] } 3. Observe the bug:

Expected behavior

Return the conversation info.

Screenshots

image

hulin17 avatar Jul 20 '22 10:07 hulin17

Updates: It's so wired when I try it again with the exactly same request, I got next error not like yesterday: image when I add the tenantId, I got this error: image My botId is 96c84039-7160-48d1-a1cd-809b7e292892. You can use this to find the log. Timestamp: I just tried these two requests in last 10 minutes.

hulin17 avatar Jul 21 '22 02:07 hulin17

Hi @hulin17

Can you confirm the version you are running? Is it 4.10.3 or 4.13.0 ?

dmvtech avatar Jul 22 '22 18:07 dmvtech

Hi @dmvtech, Confirmed for 4.10.3. I also used postman to test this. You can check with the screenshots.

hulin17 avatar Jul 25 '22 03:07 hulin17

Thank you @hulin17. I can reproduce the original error. I'm continuing to troubleshoot.

dmvtech avatar Jul 26 '22 17:07 dmvtech

Apologies for the delay. I am still investigating.

dmvtech avatar Aug 23 '22 17:08 dmvtech

Can we try the latest SDK version, which is 4.17.1?

tracyboehrer avatar Sep 06 '22 18:09 tracyboehrer

Closing due to lack of response.

dmvtech avatar Sep 19 '22 18:09 dmvtech

Apologies for the delay. @dmvtech @tracyboehrer. I also used Postman to test this. This is still repro. Do you guys find the root cause of this?

hulin17 avatar Sep 20 '22 02:09 hulin17