Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Custom Connector with multipart/form-data - missing header

I have set up a custom connector to an external system, successfully using get, post and delete using strings but am stuck on a couple of key functions where the Postman collection sets out multipart/form-data (even though one of the entries doesn't use a file).


When I test, it returns an error - looking at the request header, no content type is shown, only authentication - I've seen in other posts example request headers in the connector test screen that include it, so I'm fairly confident it can be done, just not sure how!


In the Swagger editor (swagger: '2.0') the following definition is set out:



    operationId: UpdateUserGroup
    summary: Update User Group
    description: Change the value of the user group assignment
    consumes: [multipart/form-data]
    - {name: user_id, default: '', in: path, type: string, required: true}
    - {name: group_name, in: formData, type: string, required: true, description: Group name}
      description: default
      schema: {}



Any help gratefully received!

Regular Visitor

Did you solve this? I'm on a similar situation.

Sadly not, we were lucky enough to be able to persuade the developers of the external system to modify their API to accept application/json.  Best of luck!

Regular Visitor

ahh nice solution jeje thanks for answering ! 

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (943)