Added error report to sendReport API