An appeals court has denied Bill Cosby's latest request to leave prison on bail while he fights his sex-assault conviction.

Defense lawyers say the 81-year-old comedian is likely to have his conviction overturned because of trial errors.

Cosby spokesman Andrew Wyatt says they aren't surprised by the Pennsylvania Superior Court order Monday denying last week's bail motion.

BILL COSBY FIGHTING $1 MILLION MONTHLY LEGAL PAYMENTS IN ARBITRATION

He says the filing was meant to point out that Montgomery County Judge Steven O'Neill hasn't issued a post-trial opinion the defense needs to pursue Cosby's appeal. They plan to challenge several trial rulings, including O'Neill's decision to let five other accusers testify at last year's trial.

CLICK HERE TO GET THE FOX NEWS APP

Cosby is serving a three- to 10-year prison term for drugging and molesting a woman in 2004. District Attorney Kevin Steele calls Cosby's bail motion "fraught with inaccuracies."