通过Microsoft Graph API访问Microsoft Teams频道消息时出现错误:Proxy_InternalServerError

时间:2019-04-07 06:06:36

标签: microsoft-graph microsoft-teams

通过委派权限获取团队频道消息时(用户是团队的成员):

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

获取错误:

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

经过Graph Explorer和代码测试。

它对任何人都有用吗?

1 个答案:

答案 0 :(得分:3)

检查您的频道ID。频道ID中可能缺少冒号或格式不正确。应采用以下格式 -20:d0bba23c2fc8413991125a54a67dd13e@thread.skype