# Error when deleting a card from browser

**URL:** <https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011>\
**Category:** Beta Testing\
**Created:** [May 15, 2022, 2:22pm UTC](https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011 "2022-05-15T14:22:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avmo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/avmo/32/5520_2.png) [@avmo](https://forums.ankiweb.net/u/avmo)\
**Post date:** [May 15, 2022, 2:22pm UTC](https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011/1 "2022-05-15T14:22:38Z")

</div>

- do reviews
- open browser, and search for the card currently displayed in review window
- delete that card from the browser
- return to review screen and attempt to show answer/answer Cood on the card
- error message appears (or sometimes an empty dialogue)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/4811267abb4d8e451d05841da068d9d4cb3a825d.png)

```auto
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.52 (ab1c2395) Python 3.9.7 Qt 6.3.0 PyQt 6.3.0
Platform: Windows 10
Flags: frz=True ao=False sv=3

Caught exception:
Traceback (most recent call last):
  File "aqt.main", line 252, in on_focus_changed
  File "aqt.hooks_gen", line 2766, in __call__
  File "aqt.main", line 749, in on_focus_did_change
  File "aqt.reviewer", line 174, in refresh_if_needed
  File "aqt.reviewer", line 203, in _redraw_current_card
  File "anki.cards", line 68, in load
  File "anki._backend.generated", line 1800, in get_card
  File "anki._backend", line 146, in _run_command
anki.errors.NotFoundError

```

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 16, 2022, 5:28am UTC](https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011/2 "2022-05-16T05:28:16Z")

</div>

I can’t seem to reproduce this. When I delete the note from the browser, the main window greys out, and when I return to it, a new card is shown. If I click on Show Answer while the browser is still focused, it reveals the answer of the next card.

---

<div class="post-metadata">

**Author:** ![avmo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/avmo/32/5520_2.png) [@avmo](https://forums.ankiweb.net/u/avmo)\
**Post date:** [May 16, 2022, 12:44pm UTC](https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011/3 "2022-05-16T12:44:55Z")

</div>

your answer to my [previous post](https://forums.ankiweb.net/t/anki-crashing-after-opening-stats-window-exception-code-0xc0000005/19958/7) fixed the problem. `OpenGL` was the culprit…

thanks dae!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 2:54am UTC](https://forums.ankiweb.net/t/error-when-deleting-a-card-from-browser/20011/4 "2023-05-01T02:54:39Z")

</div>

Closed on May 1, 2023, 2:54am UTC


