Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Error code: PIN-INAPP-INVALIDPIN-8
If you entered your key and it failed, your key may have been affected by this issue. Please enter the same key again to complete activation.
https://support.microsoft.com/en-us/office/error-code-pin-inapp-invalidpin-8-when-you-try-to-activate-your-office-2021-product-key-30f8204b-4987-41c1-9778-569602ab5eb7
So keep trying it.
--please don't forget to upvote and Accept as answer if the reply is helpful--