In Promo code under Plan and billing, a code can stop working after you check it and before you choose Use code: its last use is taken by someone else, it expires, or Magpie's admins switch it off.
If you had used a different code in the few minutes before, the page said that code had already been used, and the code you were trying was not applied. It now says why the code you checked cannot be used, and keeps the drawer open so you can try another.
Choosing Use code a second time for the same code still says it has already been used and for which team.