# Error

**URL:** <https://community.ankihub.net/t/error/256961>\
**Category:** 🐛 Bug\
**Tags:** add-on-error\
**Created:** [July 11, 2024, 1:06am UTC](https://community.ankihub.net/t/error/256961 "2024-07-11T01:06:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunasamman](https://community.ankihub.net/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@lunasamman](https://community.ankihub.net/u/lunasamman)\
**Post date:** [July 11, 2024, 1:06am UTC](https://community.ankihub.net/t/error/256961/1 "2024-07-11T01:06:32Z")

</div>

**Before the error happened, I was…**  
[Replace this text.]

> **Error message (don't change this)**
>
> ```auto
> Anki 2.1.63 (f356f177) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
> Platform: macOS-13.1-arm64-arm-64bit
> Flags: frz=True ao=True sv=2
> Add-ons, last update check: 2024-07-09 20:05:54
> 
> Traceback (most recent call last):
> 
> File "/Users/lunasamman/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 195, in login
> raise e
> 
> File "/Users/lunasamman/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 186, in login
> token = ankihub_client.login(credentials=credentials)
> 
> File "/Users/lunasamman/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 267, in login
> raise AnkiHubHTTPError(response)
> 
> 1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 406 Not Acceptable
> 
> ```

[Sentry link (for developers)](https://ankihub.sentry.io/issues/?project=6546414&query=id:ce23be4153c2414282cefea155023a15)

---

<div class="post-metadata">

**Author:** ![Ahmed7](https://community.ankihub.net/user_avatar/community.ankihub.net/ahmed7/32/29859_2.png) [@Ahmed7](https://community.ankihub.net/u/Ahmed7)\
**Post date:** [July 11, 2024, 6:17am UTC](https://community.ankihub.net/t/error/256961/2 "2024-07-11T06:17:15Z")

</div>

Hello,

Please update to the latest Anki version to fix this issue

[https://apps.ankiweb.net/](https://apps.ankiweb.net/)

---

<div class="post-metadata">

**Author:** ![abdo.nh](https://community.ankihub.net/user_avatar/community.ankihub.net/abdo.nh/32/14_2.png) [@abdo.nh](https://community.ankihub.net/u/abdo.nh)\
**Post date:** [July 11, 2024, 10:34am UTC](https://community.ankihub.net/t/error/256961/3 "2024-07-11T10:34:44Z")

</div>

This is probably caused by an outdated add-on version. Make sure to check for updates from _Tools \> Add-ons \> Check for Updates_ too.
