Jump to content

Zapier 504 Timeout when trying to create New Sales Invoice


Recommended Posts

Posted

We are trying to connect WooCommerce to Sage Accounting via Zapier.

We have a zap setup that creates a new customer in Sage when a customer is created in WooCommerce. This works no problem.

However trying to create a new sales invoice triggered by a complete order in WooCommerce it gives us the error 504 Gateway Time-out every time. How can we fix this? 

 

 

zapier-504.png

Posted

Hi JJ,

Thanks for your POST. A 504 error means the API gateway used by Zapier is timing out before receiving a response from our backend servers. Does this invoice contain a lot of line items?

Thanks

Mark 

  • 4 months later...
Posted
On 11/22/2023 at 10:15 AM, JJ Murphy said:

Hi @Steel, Mark,

Yes I was and managed to create a additional step to first retrieve the Contact Ref from Sage and then use this in my Zap.

Thank you,

JJ

Hi JJ, would you mind providing a bit more detail on how you have done this? We are trying to do exactly what you are doing here and just cannot get it working. It would be appreciated. Thanks

Posted
Hi Dimitris,
 
A 504 is a standardised response for an http request that has timed out. For sage it means the backend hasn't been able to respond within 28 seconds with the API gateway.
 
"I use the client from 'Find' but get the 504 Gateway error" - What are you passing in the find please? You've included a screen shot of the Create Sales Invoice form which is using the Name. This needs to pass the contact id of the find result - https://developer.sage.com/accounting/zapier/search-options/.
 
Thanks
Mark 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...