API Error Responses

All Eventful API methods report errors as XML objects, with the following structure:

Error Output Parameters - XML

string string
A short string describing the error.
description string
A more detailed description of the error.

Error Output Parameters - json

error integer
Value of 1 indicates error.
status string
A short string describing the error.
description string
A more detailed description of the error.

Example XML Error

<?xml version="1.0" encoding="UTF-8"?>
<error string="Invalid Page Number">
 <description>
   Page number out of range.
 </description>
</error>

Example json format Error

{"status":"Authentication Error","error":"1","description":"The application key provided (badkey) is not registered with Eventful.  A valid application key is required."}