If the patent application fails because the agency fails to check the copy, it can appeal to the agency and ask it to bear the corresponding responsibility and solve the problem. You can protect your rights and interests by communicating with the organization, asking for compensation or taking other measures.
At the same time, for patent applications, it is suggested that the applicant check the copies before submitting the application to ensure the uniqueness and novelty of the patent application.