cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RoryDev
New Member

Calling a Custom Connector in a Canvas App

 Hi,

 

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. 

 

Error

 

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!

 

Thanks

 

- Rory

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,529)