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 / Issue with Creating fi...
Power Automate
Unanswered

Issue with Creating files in SharePoint Library from Base64 saved as item in List

(0) ShareShare
ReportReport
Posted on by 6

Like it is described in the subject, I am collecting file content as base64 in string from.

The file content in base64 is collected from an app created with PowerApps, and saved in a SharePoint list.

 

I have made a flow that was meant to create files in a SharePoint Library from the collected base64.

 

캡처4.JPG

 

This flow creates files up to certain numbers and returns the following error message.

(The number of files created varies when making slight changes in the flow but usually around 39~41. I have around 90 items in the list that was supposed to be transformed in files.)

 

Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2229': 'The template language function 'base64ToBinary' was invoked with a parameter that is not valid. The value cannot be decoded from base64 representation.'.

 

캡처2.JPG

 

I have no clue what the error message means. It seems like the flow sort of works but stops at a certain point for some reason.

It would be great to have a help on this issue.

Categories:
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @hbkim 

    As per the error message, the problem is with the base64 content and not with the action. Can you capture the listitem id of the item which failed and try to use the base64 string and use some c# console to create the file. Also, make sure all the base64 content are valid.

     

    Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
    -Sudharsan K...

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard