# \[Apple Silicon/macOS\] "Anki encountered a problem" while adding a new card

**URL:** <https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195>\
**Category:** Help\
**Created:** [June 24, 2026, 11:41am UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195 "2026-06-24T11:41:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DvN](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@DvN](https://forums.ankiweb.net/u/DvN)\
**Post date:** [June 24, 2026, 11:41am UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195/1 "2026-06-24T11:41:09Z")

</div>

Today I wanted to add a new deck with some new cards, but suddenly my Anki instance decided not to cooperate anymore. A few words about the platform first:

## Environment

- Anki version: v26.05 (latest)
- Apple Silicon M1 Pro architecture, macOS Tahoe: v26.5.1 (latest)
- Python on ${PATH}: v3.11.15
- Python with Anki distribution (About Anki window): v3.13.11 with Qt v6.11.0 Chromium 140

## Steps to reproduce the issue

1. Open Anki
2. (Optional) Create a new deck
3. Hit the **Add** button

## Symptoms

A dialog with “_Anki encountered a problem. Please follow the troubleshooting steps._” appears.  
I checked the Debug Info:

```auto
Anki 26.05 (e64c6b1a) 
Python 3.13.11 Qt 6.11.0 PyQt 6.11.0
Platform: macOS-26.5.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 188, in cmd
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 275, in _onCmd
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 806, in _onBridgeCmd
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/toolbar.py", line 430, in _linkHandler
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/toolbar.py", line 445, in _addLinkHandler
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/main.py", line 1293, in onAddCard
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/ __init__.py", line 152, in open
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/addcards.py", line 51, in __init__
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/addcards.py", line 229, in _load_new_note
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/addcards.py", line 157, in setAndFocusNote
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/editor.py", line 584, in set_note
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/editor.py", line 654, in loadNote
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/anki/_backend_generated.py", line 1900, in get_image_occlusion_fields
  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/anki/_backend.py", line 175, in _run_command
anki.errors.InvalidInput: Please use the Check Database action, then try again.

```

## Tried steps so far

- disabled all Add-ons
- checked the integrity of the database (_Check Database_ action)
- tested different video drivers (Metal, OpenGL, software)
- performed the actions from the `https://docs.ankiweb.net/troubleshooting.html` page
- reinstalled Anki (upgraded from v25.09 to v26.05)

I would be grateful for any support in solving this issue. 🙏

Best Regards,  
~DvN

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [June 24, 2026, 5:02pm UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195/2 "2026-06-24T17:02:29Z")

</div>

Looking at that error, it’s possible there’s something wrong in one of your note types. The trace mentions the “Image Occlusion” note type –

- Do you use built-in IO often?
- Are you using the unchanged default note type, or have you customized it?
- Are you IO notes/cards still accessible in the Browse window note editor? Do they appear correctly in Preview?
- In `Preferences > Editing`, what do you have selected under “Default ~~note type~~ deck” – [Preferences - Anki Manual](https://docs.ankiweb.net/preferences.html#editing-1) ?

---

<div class="post-metadata">

**Author:** ![DvN](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@DvN](https://forums.ankiweb.net/u/DvN)\
**Post date:** [June 25, 2026, 8:59am UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195/3 "2026-06-25T08:59:32Z")

</div>

Hi @Danika_Dakika, thank you very much for your response.

> - Do you use built-in IO often?

Actually, I do not recall using it at all. When I go to `Tools -> Manage Note Types` I see the number of “Image Occlusion” notes is… 0.

 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/0/f/0f6235f7964a64cef1aad6158aced6e4ca46b419.jpeg)

> - Are you using the unchanged default note type, or have you customized it?

No, I haven’t modified any note type yet. Although, as you can see above, there is quite a huge number of Note Types available. I assume they were added automatically each time I downloaded a deck from the AnkiWeb Shared Decks page.

> - Are you IO notes/cards still accessible in the Browse window note editor? Do they appear correctly in Preview?

As above, it looks like I have no IO notes/card at all.

> - In `Preferences > Editing`, what do you have selected under “Default note type”?

It seems there is no such field on macOS version. There is “Default deck” though:

 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/a/1a4931e1c409b5cc35c53b7170abe8b867b69720.jpeg)

Nevertheless, something magical happened since yesterday. Since I was unable to add a note on Mac, I added some notes using Anki on iOS. Today I tried on Mac once again and… voila:

 ![obraz](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/9/2/92deb3e47c44947121b0ae02f0629dda68d847b8.jpeg)  
the issue is gone. 🤨

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [June 26, 2026, 12:09am UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195/4 "2026-06-26T00:09:59Z")

</div>

> [@DvN](#):
>
> the issue is gone.

That’s great! If Anki was stuck on a broken note type, changing to a different deck (based on your settings), might cause the selected note type to change, which would let you open the screen.

> [@DvN](#):
>
> There is “Default deck” though:

Yes, that’s the one. Sorry about that – I had note types on the brain when I wrote my other response.

> [@DvN](#):
>
> there is quite a huge number of Note Types available. I assume they were added automatically each time I downloaded a deck from the AnkiWeb Shared Decks page.

Yes, that’s how that happens. But if you want to clean them up (and especially if some of them aren’t functioning – [Removing duplicate note types - Anki FAQs](https://faqs.ankiweb.net/removing-duplicate-note-types.html) .

---

<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:** [July 26, 2026, 12:10am UTC](https://forums.ankiweb.net/t/apple-silicon-macos-anki-encountered-a-problem-while-adding-a-new-card/70195/5 "2026-07-26T00:10:36Z")

</div>

Closed on July 26, 2026, 12:10am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
