We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Response body not generating in the flow

jahnavi_bitra
Kilo Contributor

Screenshot 2026-03-04 203228.png

 A response body is generating in the flow, so nothing is being passed to next if conditions, which is leading to the flow not executing properly. As error code and status code are generating, I wanted to know, which field is appropriate to use instead of response body.

2 REPLIES 2

Tanushree Maiti
Giga Sage

Hi @jahnavi_bitra ,

In you other thread ,as mentioned , check the role for your integration user account.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

yashkamde
Kilo Sage

Hello @jahnavi_bitra ,

 

According to my understanding, Response Body will always be populated if the API returns anything (even error JSON), so it is not reliable for flow conditions. The correct field to control execution is Status Code.

Best practice is to check that Error Code is empty and Status Code is in 200/201 range before proceeding to next steps.

If my response helped mark as helpful and accept the solution.