cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarcoAlfani
Advocate I
Advocate I

Unable to create custom connector in Power Automate with binary parameter

Hi,

 

I have created an azure function that takes as input a binary file and I want to create a custom connector to use in Power Automate that use as parameter the file content, so the I can feed the connector directly with the output of other actions (eg. SharePoint Get File Content).

When I configure the custom connector with a property with type=string e format=binary, the connector fails to update with the following error:

 

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

 

The property is in the top level of the body parameter so the error message in clearly misleading. Here is a chunk of the swagger code:

 

MarcoAlfani_0-1618569668371.png

 

Moreover, I've tried to create the same exact connector (by coping the swagger definition) in logic apps and it works without any issue, thus making the issue even more hard to understand.

 

Is this a problem / limitation of the connectors in the Power Automate?

Please advise.

 

Thanks in advance.

 

2 REPLIES 2
seadude
Memorable Member
Memorable Member

Any updates on this one? I'm facing the same problem

trjackson77
Resolver I
Resolver I

I am also facing the same issue.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,165)