Hi team,
I am facing error in HTTP action in power automate.
Please refer screenshots below and guide in this
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.
If it helps. Here is a animation of the solution I proposed. Can you tried that, if you haven't already?
URI is the API url and there is no redirection placed
facing the below error
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.
You can use this expression for the URI field of the second HTTP action:
actions('HTTP_7').outputs.headers.Location
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional