Error Handling
Both the ESM Controller and Service can return an error response during processing. The error response can take on several formats, depending on the nature of the error. There are three types of errors: basic transaction level, item level, or account level errors. All will have a status node of "Error" and all will have an associated "Message" node with the error message.
When a transaction level error occurs, the response will contain the status and message along with the transaction ID and Type.
When an item error occurs, the response will include the item number. When an account level error occurs, the response will include the item number as well as the account number.
When an error occurs, the failed transaction is logged at Easy Purchase. Depending on the error, the user can take steps to resolve the issue (example: Over Budget) and reissue the request. Other issues might require troubleshooting or additional support from ESM or PowerSchool.