Washington (CNN) The House Oversight Committee voted Tuesday to subpoena the departments of Justice, Homeland Security and Health and Human Services for documents related to family separation at the southern border.

Committee Chairman Elijah Cummings said that documents the agencies had turned over were insufficient and didn't answer any of the committee's questions.

Two Republicans -- Justin Amash of Michigan and Chip Roy of Texas -- voted with Democrats to compel the administration to hand over the documents.

Top Republicans on the committee decried the subpoenas as hasty, arguing that Cummings had only requested the documents as chairman three weeks prior and had already received hundreds of pages of documents that demonstrated the agencies were cooperating in good faith.

Read More