本文介绍了MS Graph - 对话增量 API 不适用于某些频道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于某些频道,当点击对话 API /beta/teams//channels//messages/delta 时,我们会得到一个带有下一个链接的空批次.在点击下一个链接时,我们会收到以下错误响应.

For some channels, when conversations api is hit /beta/teams/<team id>/channels/<channel id>/messages/delta, we get an empty batch with next link. On hitting this next link, we get following error response.

{
  "error": {
    "code": "BadRequest",
    "message": "Parameter 'DeltaToken' not supported for this request.",
    "innerError": {
      "request-id": "b886b260-78ac-43b5-92d4-d0cb11136962",
      "date": "2019-12-09T09:39:16"
    }
  }
}

从对其他频道的相同问题的分析来看,这个问题似乎是在频道一年左右没有新活动的情况下发生的.

From the analysis of the same issue for the other channels, this issue seems to be occurring when channel has no new activity for around an year.

推荐答案

我相信这是另一个症状 已知问题:

I believe this is another symptom of this Known Issue:

所有团队列表中缺少团队

过去创建但最近未由 Microsoft Teams 用户使用的某些团队未按列出所有团队"列出.将列出新团队.某些旧团队没有包含团队"的 resourceProvisioningOptions 属性,该属性在新创建的团队和 Microsoft Teams 中访问的团队上设置.未来,我们将在 Microsoft Teams 中尚未打开的现有团队上设置 resourceProvisioningOptions.

Some teams that were created in the past but haven't been used recently by a Microsoft Teams user aren't listed by list all teams. New teams will be listed. Certain old teams don't have a resourceProvisioningOptions property that contains "Team", which is set on newly created teams and teams that are visited in Microsoft Teams. In the future, we will set resourceProvisioningOptions on existing teams that have not been opened in Microsoft Teams.

您或许可以通过使用 Teams 客户端访问取消"来解决此问题.

You might be able to fix this by accessing the Cancel using the Teams client.

这篇关于MS Graph - 对话增量 API 不适用于某些频道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 18:35