Added exceptions for events api