cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Multiple Attachments to an Approval works for a couple of days then starts to fail

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. 

 

 

 
3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Multiple Attachments to an Approval works for a couple of days then starts to fail

 

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.

https://powerusers.microsoft.com/t5/Building-Flows/Get-attachment-content-and-attach-it-to-a-Start-a...

 

Please provide more details so that we could provide a proper workaround for you.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Multiple Attachments to an Approval works for a couple of days then starts to fail

Hi Barry, 

 

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.  

 

4.jpg

Many Thanks, 

Highlighted
Community Support
Community Support

Re: Multiple Attachments to an Approval works for a couple of days then starts to fail

 

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.

82.PNG

Feel free to let us know if you have any other questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (6,247)