WARNING: This page is about a different car, the 2022 Genesis G90. However, it is still accessible from the selected car via links, so may be relevant.
Check for continuity between terminals. If the continuity is not as specified, replace the hazard lamp switch.