# API ERROR

**URL:** <https://community.shopify.com/t/api-error/289125>\
**Category:** Subscriptions\
**Tags:** bug\
**Created:** [January 26, 2024, 1:36am UTC](https://community.shopify.com/t/api-error/289125 "2024-01-26T01:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

API call to Shopify’s endpoint /admin/api/2022-01/orders.json?status=any&limit=1 failed with an SSL handshake error: “HTTPSConnectionPool… Max retries exceeded… SSLError (bad handshake: SysCallError(-1, ‘Unexpected EOF’)).”

Technical notes: The SSL handshake is the process that establishes a secure HTTPS connection. “Unexpected EOF” indicates the connection closed abruptly. “HTTPSConnectionPool” with “Max retries exceeded” means multiple connection attempts failed.

Possible causes suggested: outdated SSL/TLS library, issues with the server’s SSL certificate, client-side problems establishing a secure connection, intermittent network connectivity or a bad route, and firewall/security software interfering with the handshake.

No resolution yet. Suggested next steps: update/verify SSL/TLS libraries, check certificate validity and configuration, test network stability and routes, and review firewall/proxy settings that may block or inspect SSL. Discussion remains open.

<div class="post-metadata">

**Author:** ![Lee231456](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Lee231456](https://community.shopify.com/u/Lee231456)\
**Post date:** [January 26, 2024, 1:36am UTC](https://community.shopify.com/t/api-error/289125/1 "2024-01-26T01:36:55Z")

</div>

Hello, when I called the API today, the interface returned the following error: , what is the reason for this?

HTTPSConnectionPool(host=‘[pupupulakids.myshopify.com](http://pupupulakids.myshopify.com)’, port=443): Max retries exceeded with url: /admin/api/2022-01/orders.json?status=any&limit=1 (Caused by SSLError(SSLError(“bad handshake: SysCallError(-1, ‘Unexpected EOF’)”)))

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/liam/32/223867_2.png) [@Liam](https://community.shopify.com/u/Liam)\
**Post date:** [January 29, 2024, 11:07am UTC](https://community.shopify.com/t/api-error/289125/2 "2024-01-29T11:07:16Z")

</div>

Hi Lee,

This sounds like it could be related to issues in the network communication between your application and the Shopify API. This can be due to a variety of reasons like an outdated SSL library, issues with the SSL certificate on the server, or problems with your client’s ability to establish a secure connection. Sometimes, network-related problems like intermittent connectivity or a bad network route can cause these errors. Another possibility is that there’s a firewall or security software on your network or computer, which might be interfering with the SSL handshake process.
