question

RomanStrashkin-8456 avatar image
0 Votes"
RomanStrashkin-8456 asked SathyamoorthyVijayakumar-MSFT commented

Bot Framework REST: list of conversations doesn't work due to GET method is not allowed

As per the specs:

Get Conversations
Gets a list of conversations the bot has participated in.

GET /v3/conversations?continuationToken={continuationToken}

I tried to send such request, but received

HTTP/1.1 405 Method Not Allowed
Allow: POST

What I do incorrect?

azure-bot-service
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SathyamoorthyVijayakumar-MSFT avatar image
0 Votes"
SathyamoorthyVijayakumar-MSFT answered SathyamoorthyVijayakumar-MSFT commented

@RomanStrashkin-8456 - Thank you for your question. Based on my understanding - you are encountering the error when trying a GET method to the endpoint /v3/conversations?continuationToken={continuationToken}

Unfortunately, based on my research most channels (Like teams etc) do not support the GET method conversation endpoint which is the reason why your request is responded with a 405 error.

Came across the similar related thread which talks about the issue.

96071-image.png

Like mentioned above , the method is allowed in direct line channel. Having said that, I'll add a feedback to the API documentation for having the above mentioned information reflected.




image.png (21.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RomanStrashkin-8456 - Just wanted to check with you whether the above answer provided the information you are looking for. If you have any further questions, please feel free to let me know.

0 Votes 0 ·