add rpc for reportFailure