web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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 Microsoft Employee

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
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Please try this expression:

    outputs('HTTP')['statusCode']

    58.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard