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 Apps / API "Enter a valid uri"
Power Apps
Answered

API "Enter a valid uri"

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a flow (it worked with another API), but with the one I want to use now it's giving me an error: "Enter a valid uri". See screenshot.

 

 

URL_error.jpg
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Anonymous,

     

    It looks like the url is invalid, like the error message states. What type of address are you trying to connect to?

     

    Is it by any chance pointing to a local address without a domain name? For example: http://localhost/test won't work.

     

    Can you share the address so we can get an idea of the value you are using, obfuscate/hide parts of the address were needed.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    No, it's not local It's a server address. We have a gateway and a local API. How can we tell PowerApp to connect to that API using that gateway? 

  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Anonymous,

     

    As far as I am aware the out of the box HTTP action can't consume local server addresses. In that case I would create a custom connector for this.

     

    I have also seen somebody using the HTTP with Azure AD for this, that might also be worth a shot?

    https://blog.thenetw.org/2020/05/30/calling-http-endpoints-via-onpremises-data-gateway/

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Issue solved. We created API from Postman, and used our gateway to validate.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard