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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

base64tobinary

(0) ShareShare
ReportReport
Posted on by 234

Re: Initiated Power App to Power Automate (Flow) within Power Apps, Solutions component. 

 

This really should be relatively easy to solve yet it's proving impossible.

PowerAutoamte.png

File Name - triggerBody()['Createfile_FileName'].jpg

File Content - base64ToBinary(triggerBody()['Createfile_FileContent'])
 
Returns the following: 
 
InvalidTemplate. Unable to process template language expressions in action 'Create_file' inputs at line '0' and column '0': 'The template language function 'base64ToBinary' was invoked with a parameter that is not valid. The value cannot be decoded from base64 representation.'.
 
Why is this not working?
 
Please if possible provide elementary step-by-step solution instructions as to why this isn't functioning. ie. unambiguous how to fix instructions.   
 
I would add building Flow within Power Automate and then test it works yet I cannot add the flow to Power Automate.
 
Thank you. 
Categories:
I have the same question (0)
  • v-liwei-msft Profile Picture
    on at

    Hi @CABIRD 

     

    Please try dataUriToBinary to replace base64ToBinary.

    I think this link will help you:

    power automate - Sending Images from PowerApps to Microsoft Flow - Stack Overflow

    PowerApps Flow Intro Upload an image to SharePoint using Flow - YouTube

     

    Best Regards,

    Levi

  • CABIRD Profile Picture
    234 on at

    @v-liwei-msft 

    Thank you.

    I really appreciate you taking the time to reply.

    In a previous app, this method worked.

    So the question is why not now? 

     

    The new app has been created in Power Apps>Solutions. 

     

    I think there must be an error in the Power Apps connection to Power Automate. 

     

    Create Power Automate flow in flow. Return to Power Automate to add the flow and the flows in Power Automate are not displayed to select see below.

     

    PowerAppsFlow.png

     

     

     

     

     

     

     

    Open another Power App (not from Solutions) and it is possible to add any Flow from Power Automate. 

     

    PowerAppsFlow-MultiFlows.png

     

     

     

     

     

     

     

     

    Return to Power Apps (app in solutions). Click the create a flow button and rebuild the flow. The flow is displayed in Power Apps and connected. However, the connected flow fails.

     

    Open Power Automate to view the flow history.  Edit the flow in Power Automate or in Power Apps and test. Cannot get the flow to function.

     

    Delete and create again and it fails. Yet it is an exact copy (expect flow name) of a functioning and working flow created in Power Automate. 

     

    Try to search for flow

    Could not find flow '03dbdc92-c615-5752-0678-86219a2de1d1'.
    code: FlowNotFound

    Session ID: 7b44ae08-3828-47fa-abb0-3cf5517e8332

     

    How can this be fixed?

  • CABIRD Profile Picture
    234 on at

    @v-liwei-msft I received an email requesting information as to whether the issue has been resolved. Sadly no. 

    I updated the question the day I received a possible answer with additional information and await a reply (see below).

     

    I look forward to learning how this issue can be resolved.

     

    Thank you. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard