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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / API "Enter a valid uri"
Power Apps
Unanswered

API "Enter a valid uri"

(0) ShareShare
ReportReport
Posted on by

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.

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 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
    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,189 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard