API Error and Warning Codes


This section defines all the error and warning return codes that the API can return.

Some of these are only applicable to some API's but have been included here for completeness.

All warnings or errors are returned in the following format:

Common Response Codes

Code Reason
100Request not submitted over HTTPS.
105Request not submitted via POST
110Variable 'xmldata' is missing or empty.
115XML markup is invalid.
120No API method exists for the given root node.
125Schema validation failed.
130Header elements not populated.
135Request with Unique ID has already been submitted.
140API credentials are not valid.
145Token authentication failed.
150Not authorised to use this API
165General Internal API failure.
166API Unavailable.

API Specific Response Codes

Code Reason
155Missing address data information.
160Incorrect or missing parcel data.
180No services returned.
185Country code not found.
190Missing data.
200Missing service id.
210Invalid service.
220Request service is invalid.
230Postcode is not valid for country code used.
240Missing or invalid customs element.
250Not enough funds in the account to place booking.
260An unknown error has occurred during the booking process.
270Requested collection date is invalid.