Who made David take a census of the people? Here's 2 Samuel 24:1-2:
And 1 Chronicles 21:1-2:
It seems that Samuel has God incite David, whereas Chronicles has Satan do it. Infallibilists reply that allowing Satan to act is how God did it. Unfortunately, this doesn't seem to work, since God actually speaks and directly tells David what to do. God's words are recorded: "Go, number Israel and Judah."
If there's an escape from this problem, it can only be that the words in quotation marks are actually the words of David. The ESV, NRSV and NIV don't easily permit this reading, though the KJV and the NASB seem to positively require it.
I'd need to be an expert in ancient Hebrew to know if the ESV et al are getting it right. But if it is God who says "Go, number Israel and Judah" then the problem is certainly Serious. Otherwise it's weaker, though the natural reading of Samuel is still that God directly incited David.