Shivam Goyal Posted February 12 Share Posted February 12 I am trying to create an Estimate, but my API is returning me this error: {"$severity":"error","$dataCode":"TimeoutError","$message":"The backend has not responded within 28s while proxying this request. Please try again later.","$source":"Proxy"} But after sometime, i see that estimate created in Sage but my API always respond to this. For less line items, it is working fine, but for more line items, it returns this error. Link to comment Share on other sites More sharing options...
Steel, Mark Posted February 13 Share Posted February 13 Hi Shivam, Thank you for your post. The API gateway times out after 28 seconds of waiting for a response from the backend. If you're creating artefacts, Estimate's in this instance with a large number of line items it may be that at times the backend is unable to respond in 28 sec's. If the payload is all good the artefact will be created. You'll need to think about implementing idempotency in your requests if large numbers of item lines is likely to be the norm. https://developer.sage.com/accounting/guides/concepts/idempotency/. I've also referenced the below threads in the developer community from people having similar issues when posting sales_invoices. https://developer-community.sage.com/topic/775-time-out-on-invoice-creation/#comment-2033 https://developer-community.sage.com/topic/637-sales_invoices-timeouterror-the-backend-has-not-responded-within-28s-while-proxying-this-request/#comment-1765 Thanks Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now