This error may indicate that there are issues with Xero. We’d recommend checking Xero’s status page.
Once the issue has been resolved, you’ll need to reintegrate.
If there are no issues and you’ve received this error message, we’d recommend reintegrating to resolve this error.
You can then try publishing the document once more, despite the error still showing.