Where was Jeremiah when Yahweh gave a message to him?
Jeremiah was imprisoned in the courtyard of the house of the king of Judah. [32:1; 32:2]
What was the Babylonian army doing?
It was besieging Jerusalem. [32:2]