web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Upload Video files fro...
Power Automate
Unanswered

Upload Video files from PowerApps to SharePoint library

(0) ShareShare
ReportReport
Posted on by 10

We have a flow that uploads attachments from PowerApps to the SharePoint document library and to read the file content "dataUriToBinary" has been used. However, it is working for all the file types except video files. Being a newbie to PowerAutomate world, any help/guidance would be appreciated.

Error is shown in PowerApps is

FlowName.Run failed : {"error" : { "code" :413, "Message" : The response is not in a JSON format", "innerError" : "Cannot read server response"}}

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @ishwar 

    2 weeks ago I helped in solving a similar problem, in that case with a png file: Solved: Re: Powerapps -> onedrive image in base64 not conv... - Power Platform Community (microsoft.com)

    Could you try to have a look at the base64 value and remove header ("data:video/...;base64,") and "==" end characters?

    Hope it helps!

    Ferran

  • ishwar Profile Picture
    10 on at

    Hi @fchopo 

    Thanks for your response
    Sorry, but I didn't get the mentioned thread and the changes you mentioned. My implementation is exact replica of the below-mentioned blog. Where do you want me to update?
    PowerApps upload file to SharePoint document library - SPGuides

  • fchopo Profile Picture
    8,003 Moderator on at

    When flows is receiving the base64 image, which value are you receiving?

  • ishwar Profile Picture
    10 on at

    Hello,

    Apologies for the confusion. I have observed it with multiple video files and .mp4 files with sizes less than 80MB are working fine and getting uploaded to the SharePoint library. The above error is occurring for files having a size of more than 80 MB. 

    The attachment control's Maximum Attachment Size (in MB) is set to - 250.

  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @ishwar 

    According to this Microsoft official blog post: JSON for canvas apps | Microsoft Power Apps the JSON function (in PowerApps) has no size limit for binary data or text strings beyond available memory on the device.

    So, it seems that the issue depends on the device you're running your Power App.

    Hope it helps!

    Ferran

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard