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

Community site session details

Session Id : DXEr+UE3q4mFHTmFnm9hdo
Power Automate - Using Connectors
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 16 May 2022 09:12:56 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.

  • samuel23 Profile Picture
    5 on 05 Apr 2023 at 06:17:25
    Re: The api-version query parameter (?api-version=) is required for all requests.

    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

     

     

  • maryha Profile Picture
    8 on 25 Jan 2023 at 16:47:26
    Re: The api-version query parameter (?api-version=) is required for all requests.

    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

  • satishtkmx Profile Picture
    7 on 12 Jan 2023 at 11:00:30
    Re: The api-version query parameter (?api-version=) is required for all requests.

    @DaFloDo , No i dont think so this has got any solution yet.
    Flow automatically 'turned off' after 90 days - Power Platform Community (microsoft.com)

  • DaFloDo Profile Picture
    33 on 12 Jan 2023 at 10:21:32
    Re: The api-version query parameter (?api-version=) is required for all requests.

    @parul286  @satishtkmx 
    did you solve this problem?

  • satishtkmx Profile Picture
    7 on 19 Oct 2022 at 10:56:52
    Re: The api-version query parameter (?api-version=) is required for all requests.

    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.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete