diff --git a/tap_xero/client.py b/tap_xero/client.py index d94d477..be8ed3a 100644 --- a/tap_xero/client.py +++ b/tap_xero/client.py @@ -104,6 +104,10 @@ class XeroNotAvailableError(XeroError): 503: { "raise_exception": XeroNotAvailableError, "message": "API service is currently unavailable." + }, + 504: { + "raise_exception": XeroInternalError, + "message": "An unhandled error with the Xero API. Contact the Xero API team if problems persist." } }