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 Automate
Unanswered

Action 'HTTP' failed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

HI,

 

Please assist, Flow is unable to resolve my HP SM host when calling an API hosted on that server, I tried using an IP address and not the host name but I get an error message that says invalid value when using the IP, please assist.

 

Thanks

Sivu

Flow_Capture.PNG

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a full screenshot of your flow's configuration?

    Further, could you please show a bit more about your HTTP action?

     

    The error message told that the host name that you provided in the "HTTP" action could not be resolved. Please check if you have filled proper request URL within Uri field of "HTTP" action.

     

    More details about the "HTTP" action, please check the following article:

    Get started with the HTTP action

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thanks Kris, I'll go throught the link and advise.

     

    I have created a Flow that is triggered when an item is created on a SharePoint list, this step works no issues, the next action is to call a restful API (http://xxx:1380/SM/9/rest/incidents) using HTTP action , this is where I’m stuck cause the HTTP action returns an error message “The provided host name could not be resolved”, I tried replacing my hostname with the IP address but this did not help as the Operator complains with invalid URI.

     

    When using postman or soap UI, I’m able to call the API no issues, I only experience this error message when using MS Flow action HTTP operator.

     

    my values

    Method : POST

    URI       : http://03xxx:13080/SM/9/rest/incidents or http://172.20.25.1:13080/SM/9/rest/incidents

    Headers: Content-Type : application/json

    Body     : my json(name value pairs)

     

     

     


    wrote:

    Hi @Anonymous,

     

    Could you please share a full screenshot of your flow's configuration?

    Further, could you please show a bit more about your HTTP action?

     

    The error message told that the host name that you provided in the "HTTP" action could not be resolved. Please check if you have filled proper request URL within Uri field of "HTTP" action.

     

    More details about the "HTTP" action, please check the following article:

    Get started with the HTTP action

     

    Best regards,

    Kris


    image.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    More screenshots:

     

    Capture_http.PNGCapture_http2.PNGCapture_http3.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Was there any resolution to this?

     

    From what I understand Flow sits outside the 365 tenant therefore are the specific IP's that we need to whitelist from the REST API server? If so we need to know which ones in order to allow the inbound connection.

  • NIhil149 Profile Picture
    2 on at

    Any updates on this issue ? As I am having same issue 

     

    I am  trying to Post value to website with the help of POST HTTP . I am getting Unauthorized error. 

    its quite generic error don;t say much 

     

    NIhil149_0-1611586382313.png

     

     

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 Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard