A Bronx educator accused of sexually assaulting a 14-year-old student cried in court Thursday, as her lawyer argued there were huge discrepancies in official paperwork detailing the accusations.

“There are really disturbing disparities between the locations where this is alleged to have occurred,” defense attorney Andrew Stoll told the court as his client, Dori Myers, sniffled beside him.

“It’s hard to imagine that this was just the error of a sex crimes detective,” the lawyer said as he noted papers placed the alleged incident in both Harlem and the Bronx.

The tanned teacher, 29, faces charges of second-degree criminal sexual act and endangering the welfare of a child for performing oral sex on the minor in Upper Manhattan on Nov. 1, according to the complaint.

Myers, who is married to a Rockland County sheriff’s deputy, was arrested after the teen told a classmate, who reported it, according to prosecutors. She was also allegedly seen massaging the same boy by a co-worker.

She maintains her innocence.

The teacher, who is still employed by the Department of Education but has been assigned away from students, was all smiles in the gallery — laughing with her attorney before bursting into tears as her case was called.

Myers is due back in court June 14.

Stoll did not immediately comment.