Anyone can make a mistake.

Sometimes, you lose track of time and get a parking ticket.

Sometimes, you lose track of time and give a parking ticket -- give or take 140 or so.

York City officials were red-faced this week when acknowledging the parking bureau had mistakenly ticketed 143 vehicles Saturday on almost two dozen city streets.

The $50 citations were for violating the city ordinance that prohibits parking on certain days of the month when street-sweeping is scheduled to be performed.

The problem was, the streets in question were scheduled for sweeping on the third Saturday of the month — and posted to that effect — but the tickets were issued on the fourth Saturday.

One resident, Fred DeSantis, noticed the eager officer writing tickets and tried to explain the calendar to him. But the man continued to write tickets, insisting he was right, DeSantis said.

Long story short: He wasn't.

But it's a credit to city officials' handling of the situation that people can now chuckle over the snafu.

After all, it's bad enough getting a ticket when you deserve one.

DeSantis shared his experience on Facebook, which got the attention of city Councilman Michael Helfrich. The councilman visited the streets to see for himself, took pictures of the tickets and sent emails to Mayor Kim Bracey.

The mayor promptly voided the tickets and sent out apology letters Monday morning.

Cheryl Rascoe, deputy business administrator for the city's parking bureau, said workers realized the error a couple of hours in before switching to the proper streets to issue fourth-Saturday tickets. They didn't have enough time to go back and collect the incorrect tickets, she said.

"We sincerely apologize to any citizen or resident that was affected," Rascoe said.

There were no hard feelings, at least not on the part of DeSantis, who said he was glad the issue was resolved and he didn't have to fight the ticket.

"The city was great through it," he said. "It saved me a trip going to City Hall Monday."

Customer service hasn't always been York City's strong point.

But in this case, city officials took exactly the right steps: They acknowledged the mistake, apologized and quickly made it right.