Jetblue Logan airport 2014

A JetBlue Airlines plane is seen at Logan International Airport in Boston last year.

(The Republican file)

Medical marijuana was briefly on the TSA website's list of things you can bring on a plane in your carry on baggage or checked baggage. But the federal transportation agency says that's an error.

"We're sorry for any confusion," the TSA said in a post on Twitter. "A mistake was made in the database of our new 'What can I bring?' tool."

The agency added: "While we have no regulations on transporting marijuana, possession is a crime under Federal law...Our officers aren't looking for illegal narcotics, but they have to report them to law enforcement when discovered."

Marijuana reform activist Tom Angell first noted on Twitter that the TSA website said medical marijuana is allowed on a plane.

Trump TSA marks marijuana as less restrictive on planes than alcohol over 140 proof, bottled water, corkscrews & recreational oxygen. https://t.co/leUmz8jb5t — Tom Angell 🌳📰 (@tomangell) April 5, 2017

TSA says bringing breast milk & salad dressing on planes requires “special instructions,” but medical marijuana just gets a big green YES. https://t.co/leUmz8jb5t — Tom Angell 🌳📰 (@tomangell) April 5, 2017

The TSA's Twitter account sought to straighten things out soon after Angell's post went up. The website now says medical marijuana is not allowed.

Massachusetts voters approved marijuana for medical use in 2012. Nearly 30 states have legalized medical pot.

As of the end of March 2017, there are 10 registered medical dispensaries selling marijuana and 34,816 active patients in Massachusetts, according to the state's Department of Public Health.

Bay State voters went on to approve marijuana for recreational use in November 2016. State lawmakers are working on revisions to the law and hope to have a bill on Gov. Charlie Baker's desk before July.

Marijuana remains illegal at the federal level, and pro-pot activists have kept a close eye on the Trump administration's statements and movements on the substance. The Obama administration was largely hands-off when it came to legal marijuana.

President Donald Trump's attorney general, Jeff Sessions, has repeatedly noted he opposes legalized marijuana.

During a press conference earlier this year, White House spokesman Sean Spicer said there is a "big difference" between recreational marijuana and medical marijuana.

This post was updated at 2:35 p.m. with comments from the TSA's Twitter account.