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 / Custom Connector Body ...
Power Automate
Unanswered

Custom Connector Body as Binary

(2) ShareShare
ReportReport
Posted on by 435

Hello again 🙂

 

I am using a custom connector to pass binary data to an API. However, I can't figure out how to allow that in a custom connector. 

When I set it here, I get the following error.

FoDelement_0-1607378895327.png



Specified swagger has the following errors: 'Definition is not valid. Error: 'Error : paths/~1interactions~1{Ticket}~1attachments/post/parameters/2/schema/properties/FileContents : A schema with type/format 'string/binary' can only be at the top level of a body or formData parameter. '

 

Is that not the "top level of a body"?

 

Categories:
  • seadude Profile Picture
    1,855 on at

    Did you ever figure this one out? I need to do the same thing. 

     

    Thank you

  • Cam Profile Picture
    185 on at

    i'm also getting this error.

    using Fotoware.

     


    the request

    Cam_0-1653463162315.png

    the body

    Cam_1-1653463186596.png

     

    the property (in the body)

    Cam_2-1653463206954.png


    and the error message

    "A schema with type/format 'string/binary' can only be at the top level of a body or formData parameter"

     

    Specified swagger has the following errors: 'Definition is not valid. Error: 'Error : paths/~1fotoweb~1archives~XXXXXXX~1/post/parameters/1/schema/properties/Metadata : A schema with type/format 'string/binary' can only be at the top level of a body or formData parameter. ## Error : paths/~1fotoweb~1archives~XXXXXXX~1/post/parameters/1/schema/properties/Filedata : A schema with type/format 'string/binary' can only be at the top level of a body or formData parameter. '




    it appears to be at the top level of the body... very strange.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard