microsoftgraph / microsoftgraph/msgraph-beta-sdk-python

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

Open
#953 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage
Dominant language
Python
Stars
44
Forks
16
Avg merge
20h 39m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the request against the beta /copilot/users/:user_id/onlineMeetings/:meeting_id/aiInsights endpoint with the shown Python SDK code and filter. Compare behavior before and after 2025/09/22 if possible, then determine whether the API contract changed and whether migration documentation is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.