Share via

Does Microsoft Graph API support request streaming

Amle, v-Niraj 0 Reputation points
2024-01-30T15:41:26.3366667+00:00

I am trying to send large csv payload (more than a million csv records) to graph API for uploading to MS Teams channel using Mulesoft.

When sending csv records less than a million I did not observe any issue.
However, when I try to send more than a million csv records in payload to graph API i get below error

{"error":{"code":"BadRequest","message":"IO error during request payload read.","innerError":{"date":"2024-01-30T15:36:19","request-id":"assa-82sa22-4sa30b-81ac8-a6s8e0852eb2e","client-request-id":"assa-82sa22-4sa30b-81ac8-a6s8e0852eb2e"}}}

I tried to check in documentation if Graph API regarding support for request streaming but did not find any relevant details.

Please help to understand if Microsoft Graph API supports request streaming

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Rezwanur Rahman 1 Reputation point MVP Volunteer Moderator
    2024-01-30T21:03:42.3066667+00:00

    Hi Amle,

    Thank you for your message. According to the Microsoft Graph documentation, the Microsoft Graph API does not support request streaming. However, it does support response streaming for some resources, such as files and mail attachments. Check it from here.

    I hope this answer your question. Just let me know if you need to know anything more!

    Best Regards
    Rezwanur Rahman
    Microsoft MVP - Microsoft Graph Development

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.