Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Action 'HTTP' failed

(0) ShareShare
ReportReport
Posted on by

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

  • NIhil149 Profile Picture
    2 on at
    Re: Action 'HTTP' failed

    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

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Action 'HTTP' failed

    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.

  • Community Power Platform Member Profile Picture
    on at
    Re: Action 'HTTP' failed

    More screenshots:

     

    Capture_http.PNGCapture_http2.PNGCapture_http3.PNG

  • Community Power Platform Member Profile Picture
    on at
    Re: Action 'HTTP' failed

    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

  • v-xida-msft Profile Picture
    on at
    Re: Action 'HTTP' failed

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1