Former US vice presidential candidate Sarah Palin can continue her defamation lawsuit against the New York Times, a court has ruled.

The 2nd Circuit Court of Appeals in Manhattan found that a lower court judge was procedurally incorrect in dismissing her complaint.

The former Alaska governor sued the newspaper in 2017 following the publication of an editorial that she said wrongfully linked her to a 2011 shooting that wounded then-Arizona Rep. Gabby Giffords.

“This case is ultimately about the First Amendment, but the subject matter implicated in this appeal is far less dramatic: rules of procedure and pleading standards,” Circuit Court Judge John Walker wrote in his Tuesday opinion.

“We are pleased with the court’s decision, and we look forward to starting discovery and ultimately proceeding to trial,” Palin attorneys Kenneth Turkel and Libby Locke said.

“We are disappointed in the decision and intend to continue to defend the action vigorously,” a New York Times spokeswoman said.

The Times editorial was in response to the shooting at a GOP congressional baseball practice that wounded several people, including House Majority Whip Steve Scalise (R-La.).

In her original lawsuit, Palin alleged that the Times falsely accused her of “inciting a mass shooting at a political event in January 2011” and ran a claim it “knew to be false,” according to The Hill.

The paper later published a correction.

“An earlier version of this editorial incorrectly stated that a link existed between political incitement and the 2011 shooting of Representative Gabby Giffords. In fact, no such link was established,” the correction read.