Caught short

To not have enough of something (usually money) when you need it.

I was caught short last month and could not pay my credit card bill.