Skip to main content

Notifications

Community site session details

Community site session details

Session Id : r0e1ref/LUmIKaYpPI0pdm
Power Automate - General Discussion
Unanswered

Action 'HTTP_2' failed_Status Code 302

Like (0) ShareShare
ReportReport
Posted on 24 May 2022 11:10:17 by 2

I am getting Status code 302 in HTTP2 Connector.

I am getting data from shared mail box and the FireEye link embedded with in the image.

while I'm passing this embedded fire eye link in HTTP2 connector I'm getting 302 error.

May I know what could be the reason?

 

 

  • Shaheer Ahmad Profile Picture
    2,194 Super User 2025 Season 1 on 31 Jul 2023 at 09:20:07
    Re: Action 'HTTP_2' failed_Status Code 302

    I am experiencing this issue after adding another http action from the location url:

    ShaheerAhmad_0-1690795167100.png



    Note: It's working fine in postman:

    ShaheerAhmad_1-1690795201463.png

     

  • Expiscornovus Profile Picture
    31,665 Most Valuable Professional on 25 May 2022 at 11:35:43
    Re: Action 'HTTP_2' failed_Status Code 302

    Hi @THPR1996,

     

    You could use a condition action to check the status code. Make sure you configure the run after setting to has failed. Within the If Yes section you could use another HTTP action and use the Location value to navigate to the actual location (redirected).

     

    Below is an example setup.

     

    The URI field of the HTTP 3 action uses this expression:

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

     

    configurerunafter.png

     

    The condition is configured with the configure run after setting. (that's why you see the red dotted arrow between the HTTP 2 and Condition actions)

     

    configurerunafter02.png

  • THPR1996 Profile Picture
    2 on 25 May 2022 at 03:44:17
    Re: Action 'HTTP_2' failed_Status Code 302

    Yes I can see the location field in the response headers and the link is opening as well as downloading the image in my local. But not sure why the HTTP2 trigger failing. Its not showing what kind of error it is.Seems this is the first time we are getting this kind of issue. Is there any alternative to achieve this? Because i need to pass that HTTP2 trigger body to file content where i am uploading the image in a document library

     

  • Expiscornovus Profile Picture
    31,665 Most Valuable Professional on 24 May 2022 at 12:34:47
    Re: Action 'HTTP_2' failed_Status Code 302

    Hi @THPR1996,

     

    HTTP 302 responses are used a lot to redirect. So, it is pretty likely that in the response of the HTTP 2 action you received another hyperlink which you can use to navigate to.

     

    Can you check if you can see a second link in the outputs (there might be a location field in the response headers)?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
David_MA Profile Picture

David_MA 8 Super User 2025 Season 1

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

Overall leaderboard