microsoftgraph / microsoftgraph/msgraph-beta-sdk-python
API regression: BadRequest error on /beta/copilot aiInsights endpoint after 2025/09/22
未关闭
还没有人认领这个 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 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