Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

Custom Connector in power automate showing File content field as body

Posted on by 2
Hi 
created a custom connector which I can use to post a file with Multi-part form data to API

I used below swagger yml to upload the file 

 

parameters:
    - in: formData
      name: file
      type: file
      required: true
      description: The file to upload.
    - in: formData
      name: note
      type: string
      required: false
      description: Description of file contents.

After creating the connector, when I try to use it in power apps it looks like below - which doesn't let me post File content. 

because file content has to be posted with parameter name as file not body. 

How can I make body parameter appear as file.  Please help, spent many days juggling the swagger open api yaml. Thanks a lot, Nalina

Swagger editor in custom connector appears fine

 

Categories:

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Tuesday Tip #2 Global Search…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,008

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,531

Leaderboard