take the rap

take the rap for sth (take the blame or punished for something bad that has happened, especially when it is not your fault) — понести наказание за преступление, совершённое другим лицом; брать, взять вину на себя; отдуваться за кого-л., расхлебывать за кого-л.

Example 1: I won't take the rap for the crime. I wasn't even in town. (McGraw-Hill Dict)

Example 2: When the client was murdered, his wife took the rap, but did she really do it? (English Collins Dictionary)

Example 3: They made a mistake, but we had to take the rap for it.

Example 4: Who'll take the rap for it? Who did it? I'm not going to take the rap for someone else's mistakes.

a bum rap (unfair blame, blame or punishment that is not fair; unjust sentence) -- оговор; оговорить кого-л

Example 1: It was a bum rap. Eddie didn't steal those paintings.

Example 2: Teachers are getting a bum rap from people who say they don't work hard enough. (thefreedictionary.com)

Example 3: She was sent up to the penitentiary on a bum rap. (thefreedictionary.com)

get a bad rap
[bad rap]

[beat the rap]

Related vocabulary:
[fall guy]
[take the fall for sb]

[stick one's neck out]
[put one's head on the block]
[put one's neck on the line]