Showing results for 
Search instead for 
Did you mean: 
New Member

Calling a Custom Connector in a Canvas App



I have created a Canvas App.  I am trying to call a Custom Connector which can create a new MS Team using the MS Graph API, however when I call the Custom Connector Method from within the Canvas App, the request fails. 




PowerApp Canvas failed: { "error": { "code": "BadRequest", "message": "Write requests (excluding DELETE) must contain the Content-Type header declaration."


When I test the method in the Custom Connector, it works fine. I have tried adding content-type: application/json to the header request but when I check fiddler its never passed and hence fails.


All advice welcome!




- Rory


Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,489)