eyJpZCI6IjkzMjY2MzQwIiwibmV0d29ya0NvZGUiOiI5NDIwOTk0MCIsImVmZmVjdGl2ZVJvb3RBZFVuaXRJZCI6IjkzMjEwMDYwIiwibmFtZSI6IkZyb250VG9wIiwicGFyZW50UGF0aCI6eyJpZCI6IjkzMjEwMDYwIiwibmFtZSI6ImNhLXB1Yi0zMDYxMTc2MDkyNzY2MzI4IiwiYWRVbml0Q29kZSI6ImNhLXB1Yi0zMDYxMTc2MDkyNzY2MzI4In0sImFkVW5pdENvZGUiOiJGcm9udFRvcCIsImRlc2NyaXB0aW9uIjoiIiwiaXNGbHVpZCI6ZmFsc2UsImlzTmF0aXZlIjpmYWxzZSwiYWRVbml0U2l6ZXMiOnsic2l6ZSI6eyJ3aWR0aCI6IjcyOCIsImhlaWdodCI6IjkwIiwiaXNBc3BlY3RSYXRpbyI6ImZhbHNlIn0sImVudmlyb25tZW50VHlwZSI6IkJST1dTRVIiLCJmdWxsRGlzcGxheVN0cmluZyI6IjcyOHg5MCJ9fQ==

 Maxime Chanot celebrates his goal before he gave one away. (Vincent Carchietta-USA TODAY Sports)

New York City FC’s defensive woes continued on Wednesday night as it allowed two late goals en route to a 3-1 defeat to Charlotte FC at Red Bull Arena in Harrison, N.J.

It was the third consecutive match that City surrendered three goals, not necessarily a good sign for a team that has designs of defending its MLS Cup title.

Charlotte struck twice in the final 13 minutes to snap a 1-1 deadlock as the third-place Cityzens (42 points) lost for the third straight time and fell to 12-7-6. The visitors, who are in 10th place in the Eastern Conference improved to 10-14-2 and 32 points.

Only minutes after the opening kickoff, Charlotte grabbed the lead on Karol Swiderski’s goal, although it took several minutes to determine if it was a score. Swiderski ripped a a hard shot on the left side of the that goalkeeper Sean Johnson stopped while he was in the net and the ball was completely over line. However, it took game officials, with the assistance of VAR to determine that it was actually a goal.

NYCFC center back Maxime Chanot equalized in the 28th minute with a marvelous 30-yard strike.

But what Chanot gives, he taketh away as his giveaway led to Brandt Bronico’s go-ahead goal in the 76th-minute.

Christian Fuchs converted a penalty kick in the 91st minute to seal the match.

The game was listed as home game for City, which could not play at Yankee Stadium due to the Yankees’ game with the Tampa Bay Rays.