Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Wrong URL while testing custom API?



I'm attempting to make a custom connector to test an OpenApi spec.. and when I hit "Test Operation" in the custom connector editor.. it fails.  I'm assuming it's failing because the URL it's making the request to is not the one I specified.  Instead it's base URL is "" instead of my own host URL which I entered under the 'General' tab while creating this connector.


Is there something I missed? or does Flow have restrictions on what URLs are allowed?



- Jeff

Level: Power Up

Re: Wrong URL while testing custom API?

Nevermind, it's now working (without changing anything)? Might have taken a while to "register" or something?

Community Support Team
Community Support Team

Re: Wrong URL while testing custom API?

Hi @JRhatigan,


Have you solved your problem?

Which authentication do you use within your custom connector?


The Request area display information based on the HTTP request that's included in the OpenAPI definition. More details about reviewing the connector definition, please check the following article:

Review the connector definition


If you use API key authentication within your custom connector, it is not recommended to test the connector immediately after you create your custom connector, it can take a few minutes until the connector is ready to connect to the API.


More details about testing connector, please check the following article:

Test Connector


Best regards,




Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Re: Wrong URL while testing custom API?

Hi @v-xida-msft


I am using OAuth 2.0 authentication and I can see that the redirect URL being fetched is incorrect. I am unable to connect to my service because of that.


Please help

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,440)