Knowledge Base

Common Error Messages

Common Error Messages

Reference guide for error messages you may encounter in the sync logs.

Authentication Errors

"Authentication failed"

Cause: OAuth token is invalid or expired

Solution:

  1. Go to Settings
  2. Click Connect to Xero to reauthorize
  3. If persists, disconnect and reconnect

"Invalid token"

Cause: Access token rejected by Xero

Solution:

  1. Disconnect from Xero
  2. Reconnect and reauthorize
  3. Check Xero app is still active

Contact/Client Errors

"Contact not found"

Cause: Trying to sync invoice/payment before contact exists in Xero

Solution:

  1. Sync the contact first
  2. Or enable Sync Contacts setting
  3. Invoice sync will auto-create contacts if enabled

"Contact must be synced first"

Cause: Invoice queued but related contact not yet synced

Solution:

  1. The system handles this automatically
  2. Contact will sync first due to priority
  3. Invoice will sync after contact completes

Invoice Errors

"Invoice not found in Xero"

Cause: Payment references an invoice not yet in Xero

Solution:

  1. Check if invoice is in sync queue
  2. Process invoice sync first
  3. Retry payment sync

"Invoice already voided in Xero"

Cause: Attempting to modify a voided invoice

Solution:

  • This is informational
  • Voided invoices cannot be updated
  • Check Xero for current status

"Cannot void PAID invoice"

Cause: Trying to void an invoice that has payments in Xero

Solution:

  • PAID invoices cannot be voided in Xero
  • Must remove payments first
  • Handle manually in Xero if needed

API Errors

"Rate limit exceeded" (HTTP 429)

Cause: Too many API calls to Xero

Solution:

  • Wait 60 seconds
  • Automatic retry will handle this
  • For bulk operations, sync in smaller batches

"Bad Request" (HTTP 400)

Cause: Invalid data sent to Xero

Solutions:

  • Check account code exists in Xero
  • Verify tax type is valid
  • Check for special characters in names
  • Review invoice line item details

"Internal Server Error" (HTTP 500)

Cause: Xero server error

Solution:

  • Usually temporary
  • Automatic retry will handle
  • If persists, check Xero status page

"Service Unavailable" (HTTP 503)

Cause: Xero is down or under maintenance

Solution:

Configuration Errors

"Invalid account code"

Cause: Revenue account code doesn't exist in Xero

Solution:

  1. Go to Xero → Accounting → Chart of Accounts
  2. Find valid revenue account code
  3. Update in Xero Sync Settings

"Invalid tax type"

Cause: Tax type setting not valid for your Xero region

Solution:

  1. Check available tax types in Xero
  2. Update Settings → Default Tax Type
  3. Common types: OUTPUT, NONE, EXEMPTOUTPUT

Bank Sync Errors

"Payee not mapped"

Cause: Xero contact not linked to Blesta client

Solution:

  1. Go to Payee Mappings
  2. Find the pending mapping
  3. Link to correct Blesta client

"Invoice reference not found"

Cause: Could not extract invoice number from payment reference

Solution:

  1. Check Bank Sync Settings
  2. Adjust invoice reference pattern
  3. Or manually specify invoice when resolving exception

"Possible duplicate payment"

Cause: Similar payment detected within 24 hours

Solution:

  1. Review in Exceptions page
  2. If legitimate: click Process
  3. If duplicate: click Ignore
Please rate this article to help us improve our Knowledge Base.

0 0