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

Community site session details

Session Id : QUzrvt1wmDAO2W0moD/c7s
Power Automate - Building Flows
Unanswered

HTTP redirect for 307

Like (1) ShareShare
ReportReport
Posted on 30 May 2018 17:03:11 by 24

I am working with the the http functionality to gather data from a variety of API's to write to Log Analytics. I have one API which requires the ability to handle a 307 redirect (details are below). Currently the Flow errors out at the 307 with a "Temporary Redirect" error. I'm not seeing any options to do http redirect or url forwarding in the http functionality.

 

Handling 307 redirects

When making REST or REST streaming calls, your product will need to handle 307 redirects. Also known as URL forwarding, a 307 Temporary Redirect response provides a new URL for the browser to resubmit a request.

When a 307 redirect happens, you'll need to make the call again with the new URL information. When you do this, you should cache the host and port number for use in future calls with that user/access token. Remember, each call counts toward the rate limit. Consider how your user is interacting with your product. Some users will press a button or choose a setting repeatedly, so if you make a call for every user action, it can impact rate limits very quickly. If a user makes a series of changes in rapid succession, you should only make an API call for the last (most recent) value.

For more information and an example, see How to Handle Redirects.

  • digvijay09 Profile Picture
    2 on 08 Sep 2022 at 07:45:19
    Re: HTTP redirect for 307 and 308

    I am getting this error like status code 307 "TemporaryRedirect." and i have also added one more action for HTTP and they send other status code 308. 

    If anybody solve it anyway please let me know.

    Thanks for help.

  • CFullerMVP Profile Picture
    24 on 14 Dec 2020 at 22:37:14
    Re: HTTP redirect for 307

    It looks like Nest changed their link to this location: How to Handle Redirects  |  Nest Developers 

  • mr_frnk Profile Picture
    2 on 14 Dec 2020 at 22:29:07
    Re: HTTP redirect for 307

    Is the link to 'How to Handle Redirects' still active? I'm having problems to open it. 

     

  • CFullerMVP Profile Picture
    24 on 22 Jul 2020 at 13:29:02
    Re: HTTP redirect for 307

    Please see the step-by-step blog post I posted using Nest as an example. 

  • AntonO Profile Picture
    2 on 22 Jul 2020 at 09:53:12
    Re: HTTP redirect for 307

    @MarkStokes I came across this old post and can't figure out how to get the redirect url from the HTTP get response.

  • CFullerMVP Profile Picture
    24 on 22 Jan 2020 at 14:35:43
    Re: HTTP redirect for 307

    I'm glad that I could help on this one, have a great day!

  • Community Power Platform Member Profile Picture
    on 22 Jan 2020 at 09:25:31
    Re: HTTP redirect for 307

    Thanks @CFullerMVP - I was actually expecting to set the "Run After" IN the HTTP Step.

    Configuring it in the following step totally makes sense now!

    Thanks for your amazing help 🙂

  • CFullerMVP Profile Picture
    24 on 21 Jan 2020 at 15:53:00
    Re: HTTP redirect for 307

    Mine is using the standard HTTP and I'm doing the Configure Run After on the step after the HTTP request which in my case is a parse JSON. The trigger for mine at the start was just a timed request. Can you see the blog post I referenced where I documented this? (It won't let me post the URL here)

  • Community Power Platform Member Profile Picture
    on 21 Jan 2020 at 15:29:01
    Re: HTTP redirect for 307

    "Run After" is not available for me when using HTTP..

     

     

    Which trigger are you using for HTTP call @CFullerMVP?

  • CFullerMVP Profile Picture
    24 on 21 Jan 2020 at 15:07:20
    Re: HTTP redirect for 307

    The step after the original query is set the Configure Run After option available by the three dots in the top right corner on the step after the original query. Within that I set it to has failed and it's working for me.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete