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 / Custom API registratio...
Power Automate
Unanswered

Custom API registration and 'api-version' parameter

(0) ShareShare
ReportReport
Posted on by 11

Hi everyone!

 

I tried to add custom API but I've got an error message:

"The api-version query parameter (?api-version=) is required for all requests" (see the screenshot below).

 

I can't find any info about this parameter in documentation.

I've browsed many swagger's files on https://apis-guru.github.io and sample files on  http://editor.swagger.io/

however I haven't got any answer or hint.

 

Can anyone help me please?

 

Выделение_005.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Categories:
  • andrerod Profile Picture
    Microsoft Employee on at

    Hi Victor,

     

    The api-version should correspond to the api version of our APIs: 2016-03-01-preview. Could you try that value ?

     

    Thanks,

    Andre

  • victor-burre Profile Picture
    11 on at

    Thank you, Andre.

    I'am triing to register custom API and I see that your site uses API version '2016-01-01-preview' while making requests.

    So required parameter is presented even if its value differ with specified in your message.

     

    Can I force using of specified version API (and where if so)?

     

    See my screenshot please:

    Manage - Microsoft Flow – Chromium_006.png

  • Sunay Profile Picture
    Microsoft Employee on at

    Hi @victor-burre

     

    Could you please share your Swagger ? It seems like you need to add an API version query parameter for your requests. 

     

  • victor-burre Profile Picture
    11 on at

    Thanks, @Sunay.

    Of course, but I don't understand which API version you mean? Mine or yours?

     

    Here is my Swagger file: http://pastebin.com/DtWLaUZn

  • victor-burre Profile Picture
    11 on at

    Can I expect an answer?

  • Sunay Profile Picture
    Microsoft Employee on at

    Hi @victor-burre

     

    I went through your Swagger, it uses an OAuth identity provider that we don't support yet. You can check in the documentation here: https://github.com/logicappsio/CustomAPIs to see which ones are supported. 

     

    Is there a specific scenario you are trying to enable ? You can check this tutorial where "technically" you can create any service that is authenticated using AAD and proxies calls to any API of your choosing. 

    https://github.com/logicappsio/CustomAPIs/blob/master/WebAPI/README.md

     

    (Apologies for the delay in response) 

     

    Thanks, 

    Sunay

  • victor-burre Profile Picture
    11 on at

    Why all my new replies are not saved here?

  • victor-burre Profile Picture
    11 on at

    @Sunay, I send private message to you several days ago. Can you give me an answer?

  • Sunay Profile Picture
    Microsoft Employee on at

    Hey @victor-burre I already responded to your earlier question and I haven't received any other follow up queries. 

    Could you please try re-posting your question here ? 

     

    Thanks, 

    Sunay

  • Samuel Profile Picture
    Microsoft Employee on at

    It's also possible that the api-version error was an issue in our Portal. I'd recommend retrying (we've updated a few times since then) in the Flow Portal. If that is still giving you an issue, it's worth trying to create the custom api from the PowerApps portal instead. You'll see the option in their portal if you try to add a connection, then there will be a tab for custom apis.

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
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard