Foul, chemical-like odors can indicate refrigerant leaks or electrical overheating
https://centralairconditioninghelp683.capitaljays.com/posts/when-your-air-conditioner-fails-in-florida-heat-do-this-first
Foul, chemical-like odors can indicate refrigerant leaks or electrical overheating. Turn the system off and avoid prolonged exposure until it has been checked.