Fault codes

LISS does not define any standardised values for the fault code. However, LISS urges SIS developers to create meaningful and comprehensive strings.

Note also that the fault object is only returned on high-level errors, such as "missing school code". Lower level errors such as "this server does not recognise this URL" will produce Http-level errors.

JSON

For errors when using the JSON protocol you should return a JSON object with the property "error" detailing the issue.

{ "error": "The student ABC123 does not exist" }

XML

The XmlRpc spec defines a <fault> object to be returned whenever an RPC call fails. The <fault> object contains: (a) a numeric fault code, and (b) a string description.