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:
What am I missing?
Thanks in advance. PaddyD
Solved! Go to Solution.
Hi,
You need to convert document using base64ToBinary() while storing it to SharePoint like below
Hi,
You need to convert document using base64ToBinary() while storing it to SharePoint like below
Thank you so much that has done it.