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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File content as array ...
Power Automate
Unanswered

File content as array byte for API

(0) ShareShare
ReportReport
Posted on by 12
Good morning everyone,
I have a cloud flow that needs to export the contents of a pdf file in array-byte format to a Post Buffer-Insert API.

I pass the APPO variable (type string) to the body, which I value as follows:
string(decodeBase64(outputs('Fetch_attachment_(V2)')?['body/contentBytes']))

where outputs('Fetch_attachment_(V2)')?['body/contentBytes'] is the file content in byte This works if the pdf file contains simple text, but if the pdf file is "complex" the file in the destination won't open. [??? perhaps the problem is the presence of particular characters in the content (diamond with ?)] Can you give me some advice please? Thank you cv
Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard