Xero Error: An error occurred in Xero. Check the API Status page

Problem

Sending data to Xero returns the following error: 'Bad request. A validation exception occurred - An error occurred in Xero. Check the API Status page http://status.developer.xero.com for current service status. Contact the API support team at api@xero.com for more assistance..' 

Setup

  • Vend for Mac or PC
  • Xero integration

Causes

  • Vend is not connected to Xero
  • The phone/mobile number field for this customer contains over 50 characters

Solution

  1. Click Setup
  2. Click Add-ons
  3. Click the pencil icon next to Xero
  4. Enter your Xero log in details.

The phone/mobile number field for this customer contains over 50 characters

  • Phone/mobile number field has over 50 characters, more than Xero's fields accept. Remove characters to make this under 50 characters long.