Section 19(4) in The Prevention of Corruption Act, 1988
(4)In determining under sub-section (3) whether the absence of, or any error, omission or irregularity in, such sanction has occasioned or resulted in a failure of justice, the Court shall have regard to the fact whether the objection could and should have been raised at any earlier stage in the proceedings.Explanation. For the purposes of this section,(a)error includes competency of the authority to grant sanction;(b)a sanction required for prosecution includes reference to any requirement that the prosecution shall be at the instance of a specified authority or with the sanction of a specified person or any requirement of a similar nature.