Tradebox Tradebox Helpdesk

Latest version of Tradebox is V2.0.260730.0 published on 30/07/2026

Xero OAuth call back failure when connecting to Xero

When connecting Tradebox to Xero for the first time, you may experience the following error message:

Xero OAuth call back failure

An unhandled exception occurred while processing the request.

Exception: invalid_grant

Xero.NetStandard.OAuth2.Client.XeroClient.RequestAccessTokenAsync(string code)

This can happen if the email you use to log into Tradebox is not identical to the email that you are logged into Xero with. To resolve this, try adding the Xero email as an additional Tradebox user and log into Tradebox with this email:

  1. Go into the Support page in the Tradebox desktop app and click on the ‘Manage Users‘ button. This will take you to your Tradebox Licence Portal.
  2. Log into the licence portal using the same email and password you log into the Tradebox desktop application with.
  3. Then go to Users section and add a new user with the email that you log into Xero with.
  4. Once done, log out of the Tradebox desktop app and log back in to Tradebox with the new Xero email you have added to the licence portal.
  5. Then try to create the connection to Xero in a Tradebox channel.