I have created and Approval flow that incorporates multiple attachments in an array that are then attached to an approval. When the flow is first created, it works fine for a day or so and then starts to return the following error:
BadRequest. The request failed. Error code: 'AttachmentContentNotValidBase64String'. Error Message: 'The content for attachment 'Form Template_TAS Automation.xlsx' is not a valid base64 encoded string.'.
The attachments are converted with a Parse JSON and included in the Array using the Get File Content Connector.
Could anyone help with this please.
Hi @rmccann810 ,
Could you share the screenshot of the flow configuration?
Is this problem encountered only when the attachment is Form Template_TAS Automation.xlsx or can any file reproduce the same problem? Please check whether this attachment can be opened normally.
Besides, you could refer to the following thread to get $content in File content and append it to array variable.
Please provide more details so that we could provide a proper workaround for you.
I had previously tried to set the flow up using get attachment/get attachment content connectors but the attachments were coming through as corrupted.
Please see below. It has now resolved itself without me having changed anything but another user within our team has also been having an issue with an approval connector with no dynamic content in it stating that the "Required field 'assigned to' contained no valid users in the organisation" which was not the case. Both issues can be resolved by recreating the same steps in a new flow.
Hi @rmccann810 ,
Great, it seems that it is a temporary issue. As for the error that you mentioned "Required field'assigned to' contained no valid users in the organisation", it is because the users in the Assigned to field are not members of the organization. The person who may submit the form is a user outside the organization or the current browser does not have the user's credentials, so this is the response submitted anonymously.
Feel free to let us know if you have any other questions.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!