Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Getting 308 status in http action of power automate with error details as "Redirect"

(0) ShareShare
ReportReport
Posted on by

Hi team,

 

I am facing error in HTTP action in power automate.

Please refer screenshots below and guide in this

jyoti9502_0-1661513692705.pngjyoti9502_1-1661513741401.png

 

  • Verified answer
    Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: Getting 308 status in http action of power automate with error details as "Redirect"

    Hi @Anonymous,

     

    Sorry if it was not clear. I was talking about the Outputs section of your HTTP 7 action, not the Inputs section. I was looking for the value located in Outputs > Headers > Location (highlighted with my first red arrow).

     

    Btw, a lot of different things in your original screenshot point to a redirect response. For example the status code, which is a HTTP 308 Permanent Redirect: Status code 308.

     

    But also the fact the outputs body message says Redirect.

     

    redirect_http308.png

     

    If it helps. Here is a animation of the solution I proposed. Can you tried that, if you haven't already?

     

    ConfigureRunAfter_HasFailed_HTTP.gif

  • Community Power Platform Member Profile Picture
    on at
    Re: Getting 308 status in http action of power automate with error details as "Redirect"

    URI is the API url and there is no redirection placed

    facing the below error

    jyoti9502_0-1661522837731.png

     

  • Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: Getting 308 status in http action of power automate with error details as "Redirect"

    Hi @Anonymous,

     

    If it is a redirect I assume the redirected location is in the Location field of the header of the response (which you blurred)?

     

    In that case you can add another HTTP action directly after HTTP 7. Configure that second action to only run on has failed in the settings via the configure run after. In the URI use the Location value of HTTP 7.

     

    50813403073_a5c9746f76_c.jpg

    You can use this expression for the URI field of the second HTTP action:

     

    actions('HTTP_7').outputs.headers.Location

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow