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 Apps / Error missing column. ...
Power Apps
Answered

Error missing column. your formula is missing a column 'contentBytes' with a type of Blob when uploading a file

(0) ShareShare
ReportReport
Posted on by 16

mm31_0-1719390332402.png

Hi everybody,

i have a power app with a power automate flow triggered by powerapps V2. Such flow takes a text and a file as input and i run it with this expression (as i've always done):

sign.Run(Signed; {file:{name: First(attach3.Attachments).Name; contentBytes: First(attach3.Attachments).Value}})
where signed is a text variable  and the rest takes the content and the name from an attachment control.
My problem is that, even if I use the same expression i've always used for other apps, this time there's an error: 
"missing column. your formula is missing a column 'contentBytes' with a type of Blob"
 
What can i do?

 

Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @mm31 ,

    you can use this:

    FolwName.Run(
     {
     contentBytes: Att.Value,
     name: Att.Name
     }
     );

    Note how I left out the 'file:' part and one pair of curly brackets. For some reason this worked, but putting back in '{file: }' broke it again. Maybe it's some weird syntax behavior behind the scenes.

  • mm31 Profile Picture
    16 on at

    hi @anandm08 

    i tried the solution you said (as follows) but it doesn't work

    sign.Run(Signed;
     {
     contentBytes: attach3.Value;
     name: attach3.Name
     }
     )
     
  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    try this:

    sign.Run(Signed;
     {
     contentBytes: First(attach3.Attachments).Value;
     name: First(attach3.Attachments).Name
     }
     )
  • DS1060 Profile Picture
    86 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard