Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting error when accessing Microsoft Teams channel messages via Microsoft Graph API: Proxy_InternalServerError

When getting Teams channel messages via delegated permissions (user is a member of the team):

https://graph.microsoft.com/beta/teams/{team_id}/channels/{channel_id}/messages/

Getting error:

{
  "error": {
  "code": "Proxy_InternalServerError",
  "message": "Failure in forwarding request.",
  "innerError": {
    "request-id": "511b812c-df43-402b-b9dd-34ca1c1bd397",
    "date": "2019-02-01T14:22:50"
  }
}

Tested with Graph Explorer and code.

Does it work for anybody?

like image 903
Mykhail Galushko Avatar asked Nov 07 '22 18:11

Mykhail Galushko


1 Answers

Check your channel id. probably colon is missing in the Channel ID or formation is not correct. It should be in the below format - 20:[email protected]

like image 177
Abhijit Avatar answered Nov 16 '22 14:11

Abhijit