The NBA suspended Brooklyn Nets forward Wilson Chandler for 25 games for violating the league’s anti-drug program.

The league said Thursday that the 32-year-old Chandler tested positive for Ipamorelin, a growth hormone-releasing peptide.

Chandler, who signed a one-year deal with the Nets in July for the $2.6 million veteran’s minimum, said he didn’t realize the substance was prohibited.

“During my injury rehab process, before I signed with the Nets, I was prescribed a treatment that included small doses of a substance recently added to the NBA’s prohibited substance list. I did not realize this substance was banned, and neither did the doctor,” he said, per ESPN’s Adrian Wojnarowski.

“I accept responsibility and apologize to my Nets teammates, coaches, front office and fans for this mistake. I will continue to work hard to prepare for the upcoming season.”

The 6-foot-9 veteran split last season with the Philadelphia 76ers and Los Angeles Clippers, averaging 6.0 points and 4.2 rebounds in 51 games (33 starts).

A first-round pick of the New York Knicks in 2007, Chandler also spent 6 1/2 seasons with the Denver Nuggets.

In 641 career games (480 starts), he has averaged 12.9 points, 5.3 rebounds and 1.8 assists per contest.