Created an event which can be subscribed to in order to set the error level reporting for each response. Also fixed handling when the auth token expires in the middle of synchronising.