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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Flow save failed when saving a Note document to SharePoint

(0) ShareShare
ReportReport
Posted on by 8

I am trying to create a Flow that saves documents to a SharePoint folder after a workflow has generated them using a template. Method taken from here.  

 

Though I can not save this flow as it throws back this error message:

Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'body' validation failed in workflow operation 'Create_file': The parameter with value '"@triggerOutputs()?['body/documentbody']"' in path 'body' with type/format 'String/bytes' is not convertible to type/format 'String/binary'.'.

 

My flow stripped down to bare bones is:

Screenshot 2021-02-08 185911.png

 

What am I missing?

 

Thanks in advance. PaddyD

I have the same question (0)
  • Power Platform Communities Profile Picture
    8 on at

    Hi,

     

    You need to convert document using base64ToBinary() while storing it to SharePoint like below

    SharepointFile.jpg

  • Power Platform Communities Profile Picture
    8 on at

    Thank you so much that has done it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans