cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FoDelement
Continued Contributor
Continued Contributor

Custom Connector Body as Binary

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"?

 

2 REPLIES 2
seadude
Memorable Member
Memorable Member

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

 

Thank you

Cam
Kudo Collector
Kudo Collector

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,140)