Contradiction with Joshua 10:28
Joshua 10:28 describes Joshua capturing and utterly destroying Makkedah and its king, whereas Joshua 15:52 lists Makkedah as part of the territories given to the tribe of Judah, suggesting the presence of a settlement there.
Joshua 10:28: And that day Joshua took Makkedah, and smote it with the edge of the sword, and the king thereof he utterly destroyed, them, and all the souls that [were] therein; he let none remain: and he did to the king of Makkedah as he did unto the king of Jericho.