# "Blank" error with firefox when using the wrong 2FA hardware key

**URL:** https://meta.discourse.org/t/blank-error-with-firefox-when-using-the-wrong-2fa-hardware-key/155396
**Category:** Bug
**Created:** [June 19, 2020, 9:42pm UTC](https://meta.discourse.org/t/blank-error-with-firefox-when-using-the-wrong-2fa-hardware-key/155396 "2020-06-19T21:42:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [June 19, 2020, 9:42pm UTC](https://meta.discourse.org/t/blank-error-with-firefox-when-using-the-wrong-2fa-hardware-key/155396/1 "2020-06-19T21:42:48Z")

</div>

When 2FA is enabled but you use the wrong security key in Firefox, you get this “blank” error:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/6/068139b4cc143005c96da1c0b63b3364e37d9163.png)

It’s not apparent what’s happening. Chromium handles it better:

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/2/726457e462699cec7e62abc2f63fea3fd66f56da.png)  
and then if you Close you get:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/6/b/6b40a9b2cb83e3fa0d16d321d903b2b6cf7434fc.png)

We apparently aren’t handling well the error that Firefox gives back to us.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 16, 2023, 12:49am UTC](https://meta.discourse.org/t/blank-error-with-firefox-when-using-the-wrong-2fa-hardware-key/155396/12 "2023-02-16T00:49:31Z")

</div>

Is this still an issue @supermathie ?

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [February 21, 2023, 4:52pm UTC](https://meta.discourse.org/t/blank-error-with-firefox-when-using-the-wrong-2fa-hardware-key/155396/13 "2023-02-21T16:52:50Z")

</div>

Yeah… this is not a good (understandable by the user) error but at least it isn’t blank:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/1/a/71a6d7bc265a5a5426a94e6244272efacf81c6d0.png)

> InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
