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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans