Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You must go to https://setup.office.com , sign in with your Microsoft account and then enter the key. The key becomes associated with the selected account.
If you already redeemed the key, you can't redeem that same key again. Instead, use your account to install Office on a computer.
If you are saying that your product key appears to be accepted at https://setup.office.com and install and activation then fails, there may be something wrong with the product key. Which specific product is the key for? What is the product name? Microsoft 365? Or some perpetual license such as Office Home & Business 2024?
In particular, note that Office Professional Plus 2024 and similar products are not for personal use; these are volume licenses intended for organizations such as businesses.