Xero Error Logs

Encountering errors while managing your accounts can be daunting, so here's a list of common errors in Xero to help you clear that hurdle:)

To view your Error Logs, Go to the App manager on the left-side of your TradeGecko account page.

In your App manager, under the tab for Xero, click on the tab marked ‘Logs’.

This will take you to the Log page. On this page, you can perform the following actions:

1) Filtering - you can check on the top header to show only error logs
2) Export logs via the button on the top right-hand corner of the page
3) Search - Pull out logs of certain invoices or purchase orders by typing it into the search bar.
4) Bulk retry - Check some of the logs and retry them in bulk via the bulk actions dropdown

Common Errors

  1. Xero- 401 Unauthorized Error

If you are encountering this error, fret not!

This happens when the user who initially authorized integration for Xero has

  • had their permissions in Xero changed
  • been removed from the account

In order to fix this, you'll have to reauthorize the Xero-TradeGecko integration. This can be done via this link https://go.tradegecko.com/xero_integration/authorize

The following table lists common types of errors you may come across in your Error Log as well some suggestions on how to resolve them;

*Message refers to the error you will see in your Xero Error Log.

*Action is what we suggest you do to fix the error.

 

No.

Message

Action

1

"Corresponding Xero invoice is already authorized in Xero or there's already Payment or Credit Note attached to it"

If you would still like to modify the invoice in Xero, then you need to void the attached Payments and/or Credit Note first and then retry this sync.

2

"Corresponding Xero invoice can not be modified since there's already Payment or Credit Note attached to it"

If you would still like to modify the invoice in Xero, then you need to void the attached Payments and/or Credit Note first and then retry this sync.

3

"Xero does not allow invoices to have negative total"

Modify your invoice so it doesn't have negative total or in case of refund, create a refund transaction manually in Xero.

4

"The invoice that needs to be voided does not exist in Xero anymore"

The corresponding invoice in Xero has been manually removed. You can safely ignore this error.

5

"There is already a %{invoice_number} invoice in your account"

Change the invoice number to a unique number and retry this sync.

6

"Xero does not allow negative line item quantity"

If you need to give a custom discount, then make price negative instead of quantity.

7

"%{date} is not a valid invoice date"

Go to the corresponding invoice and edit the invoice issue date.

8

"Invoice is marked as deleted or voided in TradeGecko"

Invoice is deleted or voided before pushed to Xero. You can safely ignore this error.

9

"Invoice does not have due date"

Go to the corresponding order and add due date to it.

10

"Corresponding sales order is using purchase order tax type in at least one of the line items"

Check your Xero tax type settings. Your default purchase order should be linked to either 'GST on Expenses', 'Tax on Purchases' or other equivalent tax type for Purchase Order. If you are using purchase order tax type in your sales order, change this so it uses sales order tax type instead.

11

"Corresponding purchase order is using sales order tax type in at least one of the line items"

Check your Xero tax type settings. Your default sales order should be linked to either 'GST on Income', 'Tax on Sales' or other equivalent tax type for Sales Order. If you are using sales order tax type in your purchase order, change this so it uses purchase order tax type instead.

12

"Currency %{currency_code} is missing in your Xero account"

Create currency %{currency_code} in Xero and retry this sync.

13

"Your Xero Integration is not authorized"

Go to our xero integration setting and reauthorize.

14

"The contact email for this invoice is not valid"

Xero only allows single valid email address, i.e. comma or semicolon in email address is not allowed. Modify the email address of invoice recipient and retry sync

15

"Your Payments ledger account on Xero is not enabled for payments"

Check 'Enable payments to this account' on the corresponding account on https://go.xero.com/GeneralLedger/ChartOfAccounts.aspx

16

"The invoice in which the payment is attached to is not approved yet"

Go to the corresponding invoice in Xero and approve it before retrying the sync.

17

"The SKU %{item_code} does not exist in Xero"

Add %{item_code} to your Xero inventory items on https://go.xero.com/Accounts/Inventory.

18

"The company code of the contact is not unique"

Change this contact's company code to a unique code and retry this sync.

19

"Inventory account type created by Xero can not be used as Stock on Hand account ledger"
Use Stock on Hand from Current Asset type for Stock on Hand account ledger
Print Friendly Version of this pagePrint Get a PDF version of this webpagePDF
Have more questions? Submit a request
Was this article helpful?
0 out of 1 found this helpful

Comments

NEW TO TRADEGECKO? START A 14 DAY FREE TRIAL, NO CREDIT CARD REQUIRED