Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hello
We are also interested by a detailed documentation.
Thanks
Lotfi
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I'm looking for documentation describing the error object returned by /teams/v3/conversations. When making the following request to retrieve a conversation ID, it returns an error if the target user hasn’t installed the app. I understand this is expected behavior, and I’m currently considering how to handle it. Here is the request:
curl -X POST "https://smba.trafficmanager.net/teams/v3/conversations" \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"bot": {
"id": "BOT ID",
"name": "BOT NAME"
},
"members": [
{
"id": "USER ID"
}
],
"channelData": {
"tenant": {
"id": "TENANT ID"
}
}
}'
Upon testing, I received the following error as expected:
{
"error": {
"code": "BadArgument",
"message": "Bot is not installed in user's personal scope"
}
}
I plan to implement error handling based on this object, but I'd prefer to refer to official documentation if it exists. I checked this document but couldn’t find details about this specific error object.
Does documentation for this error object exist? If so, could you please share the link?
Thank you.
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
2 deleted commentsComments have been turned off. Learn more
Hello
We are also interested by a detailed documentation.
Thanks
Lotfi