in a jam
in a jam {adv. phr.}, {informal}
In a predicament; in a situation fraught with difficulty.
If you continue to disregard the university instructions on how to take a test, you'll wind up in a jam with the head of the department.
Categories:
Source: A Dictionary of American Idioms