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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,414)