Chosen Solution

I purchased a replacement battery for 2017 macbook pro from ifixit and had no problems installing it. The battery is performing as it should but my space bar is not working after the battery install. Any suggestions on what to do next to fix the spacebar?

It might just be dirty underneath, with dust, crumbs, or hair. You can drag the sticky end of a post-it note between the keys and see what you pick up. If it is not that, you will need to take it to a professional repair shop. Regards, Will