A U.S. Secret Service officer was injured when they accidentally discharged a weapon in Washington, D.C., local authorities said.