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 Automate / Action 'HTTP_2' failed...
Power Automate
Unanswered

Action 'HTTP_2' failed_Status Code 302

(0) ShareShare
ReportReport
Posted on 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?

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    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)?

  • THPR1996 Profile Picture
    2 on at

    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
    33,189 Most Valuable Professional on at

    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

  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    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

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard