Mykhail Galushko
Mykhail Galushko

Reputation: 515

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?

Upvotes: 5

Views: 775

Answers (1)

Abhijit
Abhijit

Reputation: 541

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]

Upvotes: 1

Related Questions