added ErrorEvents to the json