# 504: Gateway time-out

**URL:** <https://developer.squareup.com/forums/t/504-gateway-time-out/18697>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [September 12, 2024, 2:50pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697 "2024-09-12T14:50:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![waleed.syed](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/waleed.syed/32/7430_2.png) [@waleed.syed](https://developer.squareup.com/forums/u/waleed.syed)\
**Post date:** [September 12, 2024, 2:50pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/1 "2024-09-12T14:50:21Z")

</div>

[connect.squareupsandbox.com](http://connect.squareupsandbox.com) | 504: Gateway time-out

 ![image](https://global.discourse-cdn.com/square/original/2X/5/5694f1f487b8cbcda22859a9e6434339178e74ae.png)

tried through [connect.squareupsandbox.com](http://connect.squareupsandbox.com)

Api return [connect.squareupsandbox.com](http://connect.squareupsandbox.com) | 504: Gateway time-out

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [September 12, 2024, 2:50pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/2 "2024-09-12T14:50:47Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Get Started](https://developer.squareup.com/docs/square-get-started)**
>
> Learn how to quickly sign up for a Square account and test APIs.

> **[Get Started](https://developer.squareup.com/docs/get-started)**
>
> Learn how to quickly sign up for a Square account and test APIs.

> **Additional Documentation**
>
> [Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)  
> [Guidelines and Limitations](https://developer.squareup.com/docs/checkout-api/guidelines-and-limitations)  
> [Square Developer Documentation](https://developer.squareup.com/docs)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [September 12, 2024, 4:56pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/3 "2024-09-12T16:56:21Z")

</div>

Are you still receiving this error? Is this only with sandbox? 🙂

---

<div class="post-metadata">

**Author:** ![waleed.syed](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/waleed.syed/32/7430_2.png) [@waleed.syed](https://developer.squareup.com/forums/u/waleed.syed)\
**Post date:** [September 13, 2024, 8:41am UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/4 "2024-09-13T08:41:56Z")

</div>

Hi @Bryan-Square yes it is working now. Thanks for response.!

---

<div class="post-metadata">

**Author:** ![Bhavesh\_Raina](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@Bhavesh\_Raina](https://developer.squareup.com/forums/u/Bhavesh_Raina)\
**Post date:** [October 4, 2024, 12:28pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/5 "2024-10-04T12:28:44Z")

</div>

Hi @Bryan-Square .

We are facing Similar Timeouts on our sbox environments can you please provide the required  
suggestions for the resolution.

Regards

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 4, 2024, 4:39pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/6 "2024-10-04T16:39:24Z")

</div>

What endpoint are you calling? 🙂

---

<div class="post-metadata">

**Author:** ![Bhavesh\_Raina](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@Bhavesh\_Raina](https://developer.squareup.com/forums/u/Bhavesh_Raina)\
**Post date:** [October 7, 2024, 8:12am UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/7 "2024-10-07T08:12:17Z")

</div>

We are calling the Following endpoints that reflects the error :

1. GET uri=[https://connect.squareupsandbox.com/v2/locations](https://connect.squareupsandbox.com/v2/locations)
2. POST uri=[https://connect.squareupsandbox.com/v2/payments](https://connect.squareupsandbox.com/v2/payments)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 7, 2024, 5:59pm UTC](https://developer.squareup.com/forums/t/504-gateway-time-out/18697/8 "2024-10-07T17:59:35Z")

</div>

What’s your application ID? 🙂
