what was one thing james madison did bad or wrong as a president(mistakes)?

Blame for the military disasters that ensued—including botched invasions of Canada and the burning of Washington, D.C.—belong to Madison. He failed to prepare the country for hostilities, tolerated incompetent generals, and proved a weak commander in chief. These shortcomings resulted from his inveterate determination to allow neither war nor the threat of war to endanger republicanism or personal rights.