# Postman API call 502.3 error when doing collection running, but works when run manually each API

**URL:** <https://community.postman.com/t/postman-api-call-502-3-error-when-doing-collection-running-but-works-when-run-manually-each-api/37588>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [July 27, 2022, 2:29am UTC](https://community.postman.com/t/postman-api-call-502-3-error-when-doing-collection-running-but-works-when-run-manually-each-api/37588 "2022-07-27T02:29:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpostmanaol](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jpostmanaol](https://community.postman.com/u/jpostmanaol)\
**Post date:** [July 27, 2022, 2:29am UTC](https://community.postman.com/t/postman-api-call-502-3-error-when-doing-collection-running-but-works-when-run-manually-each-api/37588/1 "2022-07-27T02:29:19Z")

</div>

Hello All,

I’m new in API testing please bear with me.  
I’m using Postman to test our API. I run a bunch of request using run collection on the entire collection but it always returns 502.3 Error on a random POST request, but when I tried to request it standalone it has no issue and it returns the POST request that I’ve selected. It only happens when I run collection test on the entire collection and it returns 502.3 randomly

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/a/a450f91cf9368f8ca0032b3a07b8e0a45650e835.png)  
502.3 Error when running collection test on the entire collection.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/f/fce0272dc05711585be7f01df4c062833e044f61.png)  
No Issue when run request on standalone.

On the console it says

> JSONError: Unexpected token ‘\<’ at 1:1
> 
> \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/ ^

Checking the IIS Logs it shows that it is a 502.3 with Error code 12030. Upon doing research it means it is a ERROR\_WINHTTP\_CONNECTION\_ERROR

“The connection with the server has been reset or terminated, or an incompatible SSL protocol was encountered. For example, WinHTTP version 5.1 does not support SSL2 unless the client specifically enables it.”

Any idea on how to fix this? Is this a connection issue? The server on which I’m requesting API is on a VPN.

Thank you all.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 28, 2025, 2:30pm UTC](https://community.postman.com/t/postman-api-call-502-3-error-when-doing-collection-running-but-works-when-run-manually-each-api/37588/2 "2025-04-28T14:30:54Z")

</div>

Closed on April 28, 2025, 2:30pm UTC


