#76 corrected error code to 500 when single event is not published