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 / Connecting to API: Una...
Power Automate
Answered

Connecting to API: Unable to match incoming request to an operation

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Like other people have reported, I'm Trying to connect PowerApps to an api that uses Bearer token authorization scheme. It can't find the endpoint. The OPEN api spec can be found here: OPEN API Spec

It can only be imported by first downloading it to the file system. Any ideas?

 

{
"error": {
"code": 404,
"message": "Unable to match incoming request to an operation.",
"source": "msmanaged-na.azure-apim.net",
"path": "",
"clientRequestId": "f6d325ec-6f85-4c19-ae94-afa7-e3e04ac2"
}
}

 

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you create your OpenAPI based on swagger 2.0?

     

    The error message told that the URl that you request doesn't match to any Api or Operation, it is a configuration error. More details about the OpeationNotFound error, please check the following article:

    https://docs.microsoft.com/en-us/azure/api-management/api-management-error-handling-policies#predefined-errors-for-built-in-steps

     

    I found that you don't define schemes and host within your OpenAPI, the Basic structure of an standard Swagger specification (OpenAPI definition) as below:

     

    swagger: "2.0"
    info:
     title: Sample API
     description: API description in Markdown.
     version: 1.0.0
    
    host: api.example.com
    basePath: /v1
    schemes:
     - https
    
    paths:
     /users:
     get:
     summary: Returns a list of users.
     description: Optional extended description in Markdown.
     produces:
     - application/json
     responses:
     200:
     description: OK

     

    Please modify your Swagger specification (OpenAPI file) based on the following article to check if the issue is solved:

    https://swagger.io/docs/specification/2-0/basic-structure/

     

    More details about an sample of the OpenAPI definition, please check the following article:

    OpenAPI definition 

     

    More details about connecting to a custom connector in PowerApps, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/register-custom-api

     

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     I was using swagger 2.0. I ended up bypassing using the swagger doc produced by api manamement. I think their was a CORS error that could have been preventing my underlying api's from being called. Anyway works now...thanks for the help

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard