'Microsoft Flow or Logic apps send file from sharepoint to an API too large

I am trying to send an file from sharepoint to an API. I get an error that the filesize is too large, it is 120Mb. Is there anyway to get around this?

enter image description here



Solution 1:[1]

This is the http Message size limit, you could find it here:HTTP limits.

You can use chunking to workaround this limits, if the connector supports it. And if enable chunking there is still limit:Message size with chunking is 1GB.

Solution 2:[2]

For this requirement, sharepoint connector doesn't support chunking as George mentioned. So we can't transfer large file by sharepoint connector easily in logic app. But we can use microsoft graph api for download sharepoint file as a workaround.

Before request this api, you need to get a access token from app in azure ad and then use this access token as Authorization bear token. Here is a post which request another graph api in logic app for your reference. You can follow the steps in this post to know how to get the access token and request the graph api.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 George Chen
Solution 2 Hury Shen