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 / The api-version query ...
Power Automate
Unanswered

The api-version query parameter (?api-version=) is required for all requests.

(0) ShareShare
ReportReport
Posted on by

I have created a custom connector by exporting it from Azure Logic Apps. At the time of using the connector in Power Automate Flow, I am getting the below mentioned error in the Manual-Invoke step of Custom connector.

parul286_0-1652692093287.png

Error:

The api-version query parameter (?api-version=) is required for all requests.

{
  "error": {
    "code": "MissingApiVersionParameter",
    "message": "The api-version query parameter (?api-version=) is required for all requests."
  }
}

 

parul286_1-1652692146534.png

I have tried this  again by exporting the Logic App From Azure again to power apps as a new custom connectror. But when i am attaching my custom connector here , I am getting the same api version error. However, in the POST URL in the logicapp, the api-version is mentioned.(?api-version=2016-10-01&) .

Can anyone please help in identifying the main cause of this error or any kind of modifications that can be done to solve this issue.

Thanks in advance.

Categories:
  • satishtkmx Profile Picture
    7 on at

    Is there any solution to it? If my flow is not used for some number of days, i get this error and it stops calling Logic app.

  • DaFloDo Profile Picture
    33 on at

    @parul286  @satishtkmx 
    did you solve this problem?

  • satishtkmx Profile Picture
    7 on at
  • maryha Profile Picture
    8 on at

    Hi,

     

    I got this to work by manually adding these parameters to the swagger definition in the custom connector editor.

     

    • In your Power Platform Environment, open up Dataverse and Custom Connectors.
    • Click the Edit button for the Logic App connector
    • Toggle the Swagger Editor switch at the top
    • In the "Parameters" area add these parameters.  Be sure the indentation is correct:  

     

     - {name: api-version, in: query, description: request version, required: true,
     type: string}
     - {name: sp, in: query, description: method, type: string, required: true}
     - {name: sv, in: query, description: method, type: string, required: true}
     - {name: sig, in: query, description: signature, required: true, type: string}

     

    • Go back to your flow and edit the manual-invoke action to add the required parameters from the URL in the Logic App.  Decode the URL encoding from that url:

    maryha_0-1674665645117.png

     

    I was able to call the Logic App after this.

     

    Mary

  • samuel23 Profile Picture
    5 on at

    Hi,

     

    Still the same problem. I've managed it by creating policies..

    samuel23_0-1680675364752.png

    The values can be taken from the URL of the logic app:

    samuel23_1-1680675419397.png

     

     

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 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard