Anki 24.06 Image Occlusion doesn't work

Version ⁨24.06 (9b4dd543)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Windows 10, no add-ons.

Any note type that has this script (including the default Image Occlusion note type) will throw an error and will be unable to properly load:


try {
} catch (exc) {
    document.getElementById("err").innerHTML = `Error loading image occlusion. Is your Anki version up to date?<br><br>${exc}`;

Error messages:

Starting Anki from command prompt, it shows:

JS error /_anki/js/reviewer.js:441 Uncaught (in promise) Error: 403: <!doctype html>
<html lang=en>
<title>403 Forbidden</title>
<p>You don&#39;t have the permission to access the requested resource. It is either read-protected or not readable by the server.</p>

Sigh, thanks for the report. It seems to be limited to running the packaged builds. I’ll try to get a .1 release out tonight or tomorrow, and have not updated the website to point to the new version yet.


Hello! I also have this problem on macOS 13.6.7 (22G720). Anki was installed and updated via Homebrew (

1 Like

I suppose this is the same problem

1 Like

24.06.1 has been released, and should fix this.


Version ⁨24.06.1 (205068a9)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Windows 10, no add-ons.

I am still encountering the problem.

I tested the packaged build on a Windows machine and it seems to work for me. If you create a fresh profile, create an image occlusion card in it, and review it, does it still give you the error?

I didn’t test it in the Reviewer previously. I just did, and it worked even without creating a new profile.
The problem seems to occur in the Card Template and Card Preview windows, even when using a new profile.

1 Like

Yeap, the error still exists on macOS, too :slightly_smiling_face:

Here is a video (Dropbox):

1 Like

Can reproduce this here in the previewer and card layout editor. I pushed a quick fix in Fix image occlusion errors in previewer and card template editor by glutanimate · Pull Request #3228 · ankitects/anki · GitHub (based on the reviewer fix)


24.06.2 is now live. Fingers crossed that’s the last of the I/O issues!


It now works as it did before in both the previewer and card template editor. Thank you very much! :blush:

1 Like

I still don’t see it on

1 Like

I don’t see it too

Now that someone has confirmed it’s working correctly for them, I’ve updated the website links.


Hmm, I still see the previous links somehow. is up to date for me. Maybe refreshing the page will help.


When I first viewed the page it did not show up (Anki24.04), but after refreshing the page it show up (Anki24.06.2).

1 Like