2020 and older have a different key system than 2021+. The keys are not interchangeable even though they look identical.
Older keys need to be programmed by service. Newer keys can be programmed yourself like Model 3/Y.
Make sure you bought the right key. If not then return it.