Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Missing column. Your formula is missing a column 'contentBytes' with a type of 'blob'

(0) ShareShare
ReportReport
Posted on by 12

Hi,

 

I am trying to send emails from Power app and for attachment control I get this error

Missing column. Your formula is missing a column 'contentBytes' with a type of 'blob'

 

I have tried renamecolumns method already

  • rzuber Profile Picture
    545 Super User 2025 Season 1 on at
    Re: Missing column. Your formula is missing a column 'contentBytes' with a type of 'blob'

    @Vishnu27 - You're going to need to give us more information than that.

     

    Which email function are you using? How are you defining the attachment?

     

    Here is a simplified example of a formula I use to send a PDF of an HTML Text control on a screen the user is looking at:

     

     

    Office365Outlook.SendEmailV2(
     Concat(colSharingList, Mail, ";"),
     "[PDF] Document",
     "See attached PDF.<br /><br /><i>This message was sent by 'The Tool'.</i>",
     {
     Attachments: Table(
     {
     Name: "Document.pdf",
     ContentBytes: PDF(
     HtmlText5,
     {
     DPI: 72,
     Margin: "5mm",
     Size: PaperSize.Letter,
     Orientation: PaperOrientation.Landscape
     }
     )
     }
     )
     }
    )

     

     

     

     

    The colSharingList is a collection of the email addresses I chose on-screen to receive the email. The PDF() function creates the blob object for the Attachments table you pass to the email function.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1