What does ‘bum rap’ mean?

( np ) False accusation. They kept him after school for smoking in the men’s room but he got a bum rap.