Skip to content

Regression in microsoft-kiota-http 1.13.0: DriveItem content.get() returns None #745

Closed as duplicate

Description

@vincentvdsa

Environment:
msgraph-sdk: 1.63.0
msgraph-core: 1.5.1
microsoft-kiota-abstractions: 1.13.0
microsoft-kiota-http: 1.13.0
httpx: 0.27.0
Python: 3.12
Databricks

Problem:
DriveItem /content returns None with microsoft-kiota-http 1.13.0.

Same code with microsoft-kiota-http 1.12.3 returns the expected bytes.

Graph metadata reports the file correctly (size: 2346 bytes), and
@microsoft.graph.downloadUrl successfully downloads the file.

file_bytes = await graph_client.drives
.by_drive_id(drive_id)
.items.by_drive_item_id(item_id)
.content.get()

print(file_bytes)

1.13.0: None

1.12.3: expected bytes

Activity

  1. moved this to Needs Triage 🔍 in Kiotaon Sep 21, 2026
  2. Julian-J-S commented on Oct 6, 2026

    @Julian-J-S

    Having the same issue!

    My current workaround is getting the download url from the additional metadata:

    item_meta = await client.drives.by_drive_id("...").items.by_drive_item_id("...").get()
    download_url = item_meta.additional_data.get("@microsoft.graph.downloadUrl")

    Also cross linking the same issue report in the python msgraph skd:
    microsoftgraph/msgraph-sdk-python#1578

  3. baywet commented on Oct 15, 2026

    @baywet
    Member

    Hi everyone,
    Thank you for using the SDK and for reaching out.

    I believe this has been addressed by the release of graph core 1.5.2. Please upgrade the dependency and let us know if you're still facing the issue.

  4. added
    status:waiting-for-author-feedback
    on Oct 15, 2026
  5. moved this from Needs Triage 🔍 to Done ✔️ in Kiotaon Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author Feedbackstatus:waiting-for-author-feedback

    Type

    Projects

    • Status
      Done ✔️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions