# Square add-on keeps disconnecting from Square

**URL:** <https://community.gravityforms.com/t/square-add-on-keeps-disconnecting-from-square/12652>\
**Category:** Get Help\
**Tags:** square\
**Created:** [May 19, 2022, 2:02am UTC](https://community.gravityforms.com/t/square-add-on-keeps-disconnecting-from-square/12652 "2022-05-19T02:02:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsmela](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@gsmela](https://community.gravityforms.com/u/gsmela)\
**Post date:** [May 19, 2022, 2:02am UTC](https://community.gravityforms.com/t/square-add-on-keeps-disconnecting-from-square/12652/1 "2022-05-19T02:02:18Z")

</div>

I installed the Square add-on for Gravity Forms and it tested fine with sample transactions. I also tested with live transactions with no problems. However, the connection to Sqaure from the site keeps disconnecting after a number of hours. What could be doing that? Thanks.

Error log:

2022-05-18 23:48:58.770281 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 3:10:41.029273 - ERROR → GF\_Square::maybe\_renew\_token() : empty or corrupt auth data for sandbox mode;  
2022-05-19 3:10:41.292941 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 4:04:49.054078 - ERROR → GF\_Square::maybe\_renew\_token() : empty or corrupt auth data for sandbox mode;  
2022-05-19 4:04:49.307885 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 4:57:33.314502 - ERROR → GF\_Square::maybe\_renew\_token() : empty or corrupt auth data for sandbox mode;  
2022-05-19 4:57:33.569608 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 6:53:12.076745 - ERROR → GF\_Square::maybe\_renew\_token() : empty or corrupt auth data for sandbox mode;  
2022-05-19 6:53:12.321099 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 7:07:08.202044 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 7:07:08.229088 - DEBUG → Gravity\_Forms\Gravity\_Forms\_Square\Data\_Sync::end\_event(): Data Sync Complete; Ran for 1 second  
2022-05-19 7:07:08.229279 - DEBUG → Gravity\_Forms\Gravity\_Forms\_Square\Data\_Sync::end\_event(): Data Sync Report; 0 Success, 0 Failed, 0 Skipped  
2022-05-19 7:15:25.356688 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).  
2022-05-19 7:22:13.974984 - DEBUG → GF\_Square\_API::fetch\_locations(): Retrieved 3 location(s).

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [May 19, 2022, 3:55pm UTC](https://community.gravityforms.com/t/square-add-on-keeps-disconnecting-from-square/12652/2 "2022-05-19T15:55:48Z")

</div>

Hi Greg. I recommend opening a support ticket for any payment-related issues:

[https://www.gravityforms.com/open-support-ticket/technical/](https://www.gravityforms.com/open-support-ticket/technical/)

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [June 18, 2022, 3:56pm UTC](https://community.gravityforms.com/t/square-add-on-keeps-disconnecting-from-square/12652/3 "2022-06-18T15:56:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
