Depends on the mistake. You probably need to refile it if unless it is a minor mistake. Unless you are not a party to case, there probably are not grounds for you to quash the subpoena anyways. Before you waste time and money you should call and consult an attorney.
This is not a comprehensive answer and it is impossible to provide a meaningful response without a consultation.