
Announcements
Hi
Having a problem with a corrupted pdf when attaching a file and emailing to outlook. The file gets delivered perfectly down the first condition but then corrupted down the 2nd. PDF opens perfectly in OneDrive so that is not the issue.
Flow:
Error:
Hi @J_Sturg,
Before inserting file content into the attachment file array, you could use base64() function to convert the file content to make sure it could be opened correctly. For example:
base64(outputs('Get_file_content')?['body'])
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.