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.
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.'.
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.
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...