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 / Send Http Request. Htt...
Power Apps
Suggested Answer

Send Http Request. Http request failed: the server did not respond within the timeout limit.

(0) ShareShare
ReportReport
Posted on by 1,811 Super User 2024 Season 1
I have a Send Http Request to external API, but most of them time the action failed with this error:-
 
{
  "error": {
    "code": "BadRequest",
    "message": "Http request failed: the server did not respond within the timeout limit. Please see logic app limits at https://aka.ms/logic-apps-limits-and-config#http-limits."
  }
}
 
and it keeps trying to get the data for 12 tries without any success call, and each try will take 2 minutes;-
 
 
 
 
Now i have the default setting for this action which uses Asynchronous call, as follow:-
 
 
 
 
So how i can increase the duration of the call to be more than 2 minutes? although using PostMan i can get the data in less than 30 seconds!!
 
Any advice? I also uncheck the "Asynchronous Pattern" checkbox, but nothing differ,, so not sure what this checkbox is suppose to do..
 
Categories:
I have the same question (0)
  • Suggested answer
    Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    First, if it works quickly in PostMan but not in Power Automate, consider checking your Headers and any Authentication you're using.  Sometimes there's an issue with cookies.  You might also not have something right in your payload (if there is one).

    If you own / can access the other end of the API you can make sure it's configured correctly. 
    On your end though what you should do is change the "Duration".  The example it gives is "P1D" which is a one day timeout.  This is in ISO 8601 format, you can google this or ask chatGPT. 

    You could do PT1H for one hour, PT15M for 15min.
     

    You could also consider setting your "Retry Policy" to none or an interval.






    If this helped you, please click "Does this answer your question" and give it a like to help others in the community (+ close the ticket)!

    Power Platform Developer | LinkedIn: Mark Nanneman | Blog: Power Stuff  | YouTube: Mark's Power Stuff  |

     
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
     
    Thanks for the reply.. i am using the exact headers and i am using username and password... also setting the retry the way u mentioned will not solve the issue, it will only fail my flow earlier, am i correct?
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
     
    also i am not sure if setting a timeout will make any differences, here what i did :-
     
     
    but still each try will timeout after 2 minutes:-
     
     
     
    Anyway thanks for your time in replying to my recent questions, but do u test what you post? or you post based on what u think should work?
     
    Thanks
  • Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    Re:
    Anyway thanks for your time in replying to my recent questions, but do u test what you post? or you post based on what u think should work?

    Obviously I can't test your API call buddy, cause I don't know what it is.  😁
    Just giving you some tips on how to set the time out and retry policy on your end (so you're at least not making dozens of badrequests to your endpoint).

    Good luck, hopefully someone else can spend time helping you for free👍

  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
    First yes we on this forum help each other for free, looks wired to you?
     
    also i am not asking specific question about the API, as i can connect to it using Postman, so the problem is with power automate that it time out after 2 minutes,,, not sure if this info is interested to you,, i though you already know this..
  • Meekou Profile Picture
    200 Moderator on at
    Could you share your request header and body for postman and power automate flow?
     
    In general, it should not make such difference for the same request.
     
    Regards,
    Meekou
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
    @Meekou
     
     
    Those are the headers and the full request:-
     
     
     
    Thanks
  • Meekou Profile Picture
    200 Moderator on at
    You will need to check request in the flow history, and then compare it with the request from postman, check whether there is any difference.
    Pay attention to check value for the parameters value.
    Regards,
    Meekou
    Personal Support

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard