Testing errors

If you wish to test error handling you can force any error code to be produced. Adding the 'error' parameter to any api query will force the system to produce the associated error.

For example: The following query returns a 400 error code:

The system will produce the following:

<?xml version="1.0"?>
<error errorCode="400" errorString="Empty Query" />

Error codes | PHP, Perl and C#.Net code examples