Chosen Solution
So I have one a 2nd gen butterfly key mac book pro. Apple would not give me a replacement keyboard claiming there was liquid damage. The only really bad key was the spacebar key so I attempted to clean it and it was working fine, then it wasn’t then it was now its unresponsive. My hypothesis is the keyboard contact has gone bad? I can’t trigger it at all even holding the contact cup directly to the keyboard contact. Anyone have some experience troubleshooting the keyboard contact? Can I check it for continuity or something? (Another hypothesis is that I installed Karabiner-Elements and though I turned it off I thought maybe it could still rerouting spacebar somehow? Maybe I should unsintall completely?)
Use the keyboard viewer to double check. Go into the Keyboard preference control panel and check the Show keyboard and emoji viewers in the menu bar. Now you should see the country flag in the right menu bar. Pull it down to show the keyboard viewer no any hit to the given key will show up. This is independent of anything to add to the OS to alter the keyboard. If your keyboard is damaged you really have only one option and thats replacing it. While it is possible to replace the keyboard alone the newer butterfly keyboards are much harder to replace than the older ones. I would recommend you replace the full uppercase. As you didn’t tell us which system you have I can’t tell you more. Give us the exact system info and the color so we can aim you to the best guide and part.