Hi,
WE get the following error while trying to get messages of a teams channel using the Graph API(channel-list-messages and chatmessage-list-replies )
Status Code: Forbidden
{
"code": "Forbidden",
"message": {"errorCode":209,
"message":{
"subCode": "AclCheckFailed",
"details": "The initiator 28:app:22da2fa9-f8e7-4f8c-a588-a72b6896d459_2b99b040-b3...
}
I have checked the Graph API documentation and there is no mention of the errorCode 209 or subCode "AclCheckFailed". I can confirm that the the Protected API's permission needed for this API has been requested and approved. Also, The necessary application permissions "ChannelMessage.Read.All" has been granted by admin for the app.
I don't have the request-id, client-request-id and the additional error details. I wanted to know, if there are any circumstances that might cause this error code for the above APIs. And if there is a solution to fix it.