Code of Civil Procedure Article 249

In case of any of the following, the court shall dismiss the plaintiff's action by a ruling, but where the defect is rectifiable, the presiding judge shall order the plaintiff to rectify within a designated period of time:(1) Where the civil court does not have jurisdiction over the case, and the case cannot be transferred in accordance with laws;(2) Where the court in which the action is pending does not have jurisdiction over the action and cannot issue a ruling provided in Article 28;(3) Where the plaintiff or defendant lacks the capacity to be a party;(4) Where the plaintiff or defendant lacks the capacity to litigate and is not legally represented by his/her statutory agent;(5) Where an advocate initiates the action and the advocate lacks authority;(6) Where the action is not initiated in accordance with the prescribed formality, or lacks other requirements;(7) Where the action is initiated in violation of either the provisions of Article 253 or the second paragraph of Article 263, or its claim has been adjudicated by a final judgment with binding effect.(8) The action is initiated in bad faith, for improper purpose or with gross negligence, and the factual or legal claims thereof lacks reasonable basis.In case of any of the following, the court shall dismiss the plaintiff's action by a judgment without oral argument, but the presiding judge shall order the plaintiff to rectify within a designated period of time if the defect is rectifiable:(1) Where the plaintiff has no standing or where the plaintiff lacks the right to be protected by law; or(2) Where the plaintiff's claim, given the facts alleged, is manifestly without legal ground. In the case of the preceding two paragraphs, the plaintiff cannot make rectification after his/her action is dismissed by a judgment for failure to rectify within the designated period of time.
中文原文 民事訴訟法第249條
原告之訴,有下列各款情形之一者,法院應以裁定駁回之。
但其情形可以補正者,審判長應定期間先命補正:
一、訴訟事件不屬普通法院之審判權,不能依法移送。
二、訴訟事件不屬受訴法院管轄而不能為第二十八條之裁定。
三、原告或被告無當事人能力。
四、原告或被告無訴訟能力,未由法定代理人合法代理。
五、由訴訟代理人起訴,而其代理權有欠缺。
六、起訴不合程式或不備其他要件。
七、當事人就已繫屬於不同審判權法院之事件更行起訴、起訴違背第二百五十三條、第二百六十三條第二項之規定,或其訴訟標的為確定判決效力所及。
八、起訴基於惡意、不當目的或有重大過失,且事實上或法律上之主張欠缺合理依據。
原告之訴,有下列各款情形之一者,法院得不經言詞辯論,逕以判決駁回之。
但其情形可以補正者,審判長應定期間先命補正:
一、當事人不適格或欠缺權利保護必要。
二、依其所訴之事實,在法律上顯無理由。
前二項情形,原告之訴因逾期未補正經裁判駁回後,不得再為補正。

English translation for reference only; the Chinese text prevails. Not legal advice.