Rapper Kodak Black and three others were arrested after they allegedly tried crossing the U.S.-Canada border near Buffalo with guns and marijuana, officials said Thursday.

The artist — born Bill Kapri — was a no-show for concerts in Boston on Wednesday night, after he was stopped at the Lewiston-Queenston International Bridge, authorities said.

Kodak, 21, and Jeantony Saintmelus, 22, were booked on suspicion of criminal possession of a weapon and unlawful possession of marijuana, state police said. Stetson J. President, 24, and Madarrow D. Smith, 20, were booked for alleged criminal possession of a weapon.

Kodak Black, whose real name is Bill Kapri. Niagara County Sheriff

“During the initial inspection, the U.S. citizens admitted to being in possession of marijuana and firearms,” according to a statement by U.S. Customs and Border Protection. “During a secondary inspection, it was revealed that the weapons were possessed unlawfully in New York State and subsequently the marijuana, firearms and subjects were turned over to the New York State Police for further processing.”

Kodak was behind the wheel of a Cadillac Escalade, with a temporary California registration, when he was stopped. The gun in the Cadillac was a Glock 9mm pistol, state police said.

Saintmelus was driving a Porche, alongside Kodak’s Escalade, and there were three guns and marijuana found inside that car, police said.

Kodak posted bail on Thursday, but by early afternoon his three co-defendants were still in custody, according to a Niagara County Sheriff's official.

Kodak missed shows at the House of Blues in Boston on Wednesday night, causing some "generally unruly behavior" outside the club, police said.

One man was arrested for allegedly assaulting a security officer and two people required medical assistance. There were about 200 people outside the club waiting for the concert and it took about 30 minutes for the disappointed fans to disperse, police said.

"With sincere apologies, due to unforeseen circumstances, the Kodak Black shows have been postponed. New dates will be announced as soon as possible," according to a statement by the House of Blues in Boston.

Kodak was widely criticized earlier this month after he publicly declared his intentions of romantically pursuing the grieving girlfriend of slain rapper Nipsey Hussle.

His comments were met with swift backlash, including from rappers The Game and T.I. and Justin Credible, a disc jockey at Los Angeles radio station Power 106, who pledged to no longer play Kodak's music.

Kodak issued a tepid apology to Lauren London, who has a son with Hussle.

“If I disrespected you, Lauren London, in any shape or form, I'm sorry, even though I didn't," he said.