Jump to content

Squarespace API Giving ECONNREFUSED Error

Recommended Posts

We've been getting an intermittent error with all of our Squarespace customers. We have an integration where our API will process orders from their stores and send an order email.

 

However recently, Squarespace has been giving ECONNREFUSED errors then around 3-5 hours later it stops happening.

Request is made once per 5 minutes -  during this time, every request was failed by timeout. Our API makes request to
https://login.squarespace.com/api/1/login/oauth/provider/tokens
with { grant_type: 'refresh_token', refresh_token: currentRefreshToken }


There were error similar to:
Error: connect ECONNREFUSED 198.49.23.176:443
Error: connect ECONNREFUSED 198.185.159.177:443 

Any idea why this would be happening?

Link to comment
  • Replies 0
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.