Two unidentified males paste what NYPD thought was anti-Semitic posters on a wall along Driggs Ave. between N. 7th and 8th Sts. in Williamsburg Brooklyn. (DCPI)

Someone got their messages mixed up.

An anti-hate image posted on a Brooklyn construction site, showing a swastika with a red line drawn through it, ended up on the radar of the NYPD’s Hate Crimes Task Force — after someone mistook it for an anti-Semitic image last month.

The NYPD on Wednesday released video showing what cops described as “two unidentified males (who) pasted several anti-Semitic posters on a wall” on Driggs Ave. between N. 7th and 8th Sts. in Williamsburg on Aug. 22.

Police said they were investigating the posters as “aggravated harassment,” and the Hate Crimes task force had been notified.

The image, it turned out, was an “anti-swastika” message by street artist Katsu and apparel designer Alife.