web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Property "" type misma...
Power Automate
Answered

Property "" type mismatch, Expected: "object", Actual: "string".

(0) ShareShare
ReportReport
Posted on by 20

I am attempting to create a custom connector using the make.powerapps.com portal.

 

I have tried exporting the OpenAPI(v2) schema from Azure API Management and importing that into the custom connector wizard. I have gone through and checked all of the validation messages on each screen.

However, when I get to the Test tab, I cannot seem to get any response to come through from my API calls. The schema validation for the response fails with 'Property "" type mismatch, Expected: "object", Actual: "string".'

 

I have also tried creating a custom connector manually, importing a postman collection and am having zero luck getting it to work. Sometimes I get the response schema validation error I mentioned when I test, other times I get back no response at all.

 

Has anyone tried creating a custom connector lately using the Power Apps portal and actually gotten it to work? If so, I would *love* to see a sample of something that does work or if someone knows how to fix the aforementioned error, I'm all ears. Otherwise to me, this functionality seems broken.

 

Categories:
I have the same question (0)
  • bbailey Profile Picture
    Microsoft Employee on at

    When you setup your connector are you passing in a subscription key, API key or some other form of authentication (what authentication are you using)? I was receiving that error until I passed in the appropriate key to authenticate who I was. At that point it started working fine. The message was frustrating and a bit vague, but once I found what I was missing that helped.

  • Verified answer
    mpapas Profile Picture
    20 on at

    No, that wasn't it. I had the API key. I even tried just setting it to anonymous on the APIM side.

     

    But I figured out my problem. Once I added "https://flow.microsoft.com" to the CORS policy of my APIM instance, everything started working.

  • Bruce_Wang Profile Picture
    4 on at

    mpapas - would you please share some more details about "I added "https://flow.microsoft.com" to the CORS policy of my APIM instance, everything started working."  -- thanks a lot

  • Verified answer
    mpapas Profile Picture
    20 on at

    Simply go to your API Management instance > All APIs:

    Capture1.PNGNext, open the policy code editor:

    Capture2.PNG

    Then add the URL under allowed origins:Capture3.PNG

     

     

    HTH!

  • lion Profile Picture
    100 on at

    Hi

    where is the API management entry? my webAPI is host in a public computer, it can invoke success from cloud flow>http action, but failed from custom connector, the error is 401( Property "" type mismatch, Expected: "object", Actual: "string".)

     

     

     Property "" type mismatch, Expected: "object", Actual: "string".'

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard