You may see this error if the item you're trying to publish has been previously published to Xero but then was edited in some way so that you can no longer update it.
How to resolve:
- Select the relevant item
- Head to the Tools menu and click on the 'Clear publishing data' option
- Republish the item
Note: The item should be deleted in Xero, otherwise duplicates may be created upon republishing.