microsoftgraph / microsoftgraph/msgraph-beta-sdk-python

API regression: BadRequest error on /beta/copilot aiInsights endpoint after 2025/09/22

未關閉
#953 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

status:waiting-for-triage
主要語言
Python
星號
44
分支
16
平均合併
20 小時 39 分鐘
30 天內合併 PR
3

描述

Problem

The following API endpoint stopped working as expected after 2025/09/22:

https://graph.microsoft.com/beta/copilot/users/:user_id/onlineMeetings/:meeting_id/aiInsights

After 2025/09/22, requests now return:

{
    "error": {
        "code": "BadRequest",
        "message": "Value cannot be null. (Parameter 's')",
        "innerError": {
            "date": "2025-09-25T02:21:05",
            "request-id": "8e2a3b90-24ac-4a05-ad77-50d3ade65aba",
            "client-request-id": "8e2a3b90-24ac-4a05-ad77-50d3ade65aba"
        }
    }
}
# My code snippet:
graph_client = get_graph_client_beta(auth_code)
me = await graph_client.me().get()
user_id = me.id
graph_client.request_adapter.base_url = "https://graph.microsoft.com/beta/copilot"

query_params = AiInsightsRequestBuilder.AiInsightsRequestBuilderGetQueryParameters(
    filter=f"contentCorrelationId eq '{correlation_id}'"
)
request_configuration = RequestConfiguration(query_parameters=query_params)

result = await graph_client.users.by_user_id(user_id).online_meetings. \
    by_online_meeting_id(meeting_id) \
    .ai_insights. \
    get(request_configuration=request_configuration)

Impact

  • This appears to be an API issue rather than an SDK bug, but it directly affects SDK behavior.
  • The same code worked until 2025/09/22, so this looks like a regression in the API backend.

Request

  • If this is an expected change, please update the documentation and communicate any required migration steps for SDK usage.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,使用所示的 Python SDK 程式碼和篩選條件,針對 beta endpoint /copilot/users/:user_id/onlineMeetings/:meeting_id/aiInsights 重現該請求。如果可能,請比較 2025/09/22 前後的行為,接著判斷 API contract 是否有所變更,以及是否需要遷移文件。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。