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 / HTTP status code in ou...
Power Automate
Unanswered

HTTP status code in output

(0) ShareShare
ReportReport
Posted on by

Hi,

 

So i am using an HTTP method for creating certain incident on a service platform, The thing is I'm getting a 202 in return which says accepted with a generic response body? So what i need is a 200 code only in which i'll get a proper response body and i need that output in the next steps. 

 

So is there a setting if i can actually set it that it only succeed with a 200 code and i'll get my output???

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Please try this expression:

    outputs('HTTP')['statusCode']

    58.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-bacao-msft ,

     

    Thamk you for your suggestion but I don't actually need the status code no. in the output what i'm interested is the json body of that output, in the output below i'm getting the output of HTTP request as :

     

    HTTP Method.PNG

     

    What I actaully need is 200OK response with the outputs as incident no., incident message etc, So is there a way i can set the HTTP method to only move further when it'll get a 200? 

  • v-bacao-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    This is not changed by Flow. Here is just a request to send through Flow, and there is no way to change the status code returned. This is what the server returns after responding to the request, and the status of the request is checked by the status code.

     

    Best Regards,

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard