Find what makes a mechanical keyboard spacebar rattle
Separate a loose keycap, stabilizer noise and desk vibration.

Listen from both ends
Record several presses at the center and at each end with the keyboard on your regular desk. A rattle isolated to one side suggests checking that end of the cap and stabilizer first.
Change the support
Move the keyboard to a soft desk mat and repeat at the same force. If most of the noise disappears, desk resonance is contributing. If the cap is designed to be removed, follow the manufacturer’s instructions and verify that both stabilizer mounts seat evenly.
Fix the smallest part first
I would reseat the keycap and try a mat before buying switch parts. If one end still rattles and the board is new, compare with the seller’s sample or use the return period before attempting modifications.