# I get 500 internal server error and again 200 OK for same request

**URL:** <https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555>\
**Category:** Help Hub\
**Created:** [July 26, 2022, 6:34am UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555 "2022-07-26T06:34:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manasasunkara27](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@manasasunkara27](https://community.postman.com/u/manasasunkara27)\
**Post date:** [July 26, 2022, 6:34am UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555/1 "2022-07-26T06:34:05Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_: For a request, I first got 500 Internal server error and if I hit the same request without changing anything, it shows 200 OK. What could be the reason?

_Details (like screenshots)_:

_How I found the problem_:

_I’ve already tried_:

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [July 27, 2022, 12:11pm UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555/2 "2022-07-27T12:11:00Z")

</div>

Hi @manasasunkara27

Please provide more details on what you are sending / screenshots etc.

---

<div class="post-metadata">

**Author:** ![sseenivasan89](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sseenivasan89/32/8350_2.png) [@sseenivasan89](https://community.postman.com/u/sseenivasan89)\
**Post date:** [July 28, 2022, 7:13am UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555/3 "2022-07-28T07:13:42Z")

</div>

@manasasunkara27

may the server was down when you tried first time

---

<div class="post-metadata">

**Author:** ![mikefinch87](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mikefinch87](https://community.postman.com/u/mikefinch87)\
**Post date:** [January 26, 2024, 8:37pm UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555/4 "2024-01-26T20:37:21Z")

</div>

![Postman 2024-01-26 152332](https://us1.discourse-cdn.com/getpostman/original/3X/a/3/a3cadf96bad54446e87c74a26525b1c9d2b673cf.png)  
@sseenivasan89 , I was able to duplicate this. See the screenshot above with the failure from Postman.  
Azure thinks it sent a 200:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/9/e9a332d6a94503db0051f192fd6b769a84c7d1e4.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/1/a1f7ac7467efc0050977d182dc894c070db4b622.png)  
Sometimes closing and reopening postman works, but not reliably

---

<div class="post-metadata">

**Author:** ![mikefinch87](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mikefinch87](https://community.postman.com/u/mikefinch87)\
**Post date:** [January 31, 2024, 3:45pm UTC](https://community.postman.com/t/i-get-500-internal-server-error-and-again-200-ok-for-same-request/37555/5 "2024-01-31T15:45:21Z")

</div>

To document the result.  
Function Completes successfully, which is why it has a 200 response code.  
At 3:50 (4:00 linux) Azure FunctionApp Load Balancer closes the connection which is why postman received a 500.  
My resonse was ~ 4 min, which was why it worked sometimes.
