Ankihub is giving me an error code. How do i fix it?

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-14.1.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-06 09:35:19
Add-ons possibly involved: ⁨AnkiHub⁩

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 293, in setupProfile
File “aqt.main”, line 473, in loadProfile
File “_aqt.hooks”, line 3627, in call
File “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 55, in _on_profile_did_open
if not _profile_setup():
File “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 76, in _profile_setup
if not setup_profile_data_folder():
File “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/settings.py”, line 376, in setup_profile_data_folder
if not _maybe_migrate_profile_data_from_old_location():
File “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/settings.py”, line 449, in _maybe_migrate_profile_data_from_old_location
if not _profile_data_exists_at_old_location():
File “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/settings.py”, line 440, in _profile_data_exists_at_old_location
result = (user_files_path() / PRIVATE_CONFIG_FILENAME).exists()
File “pathlib”, line 1424, in exists
File “pathlib”, line 1232, in stat
PermissionError: [Errno 13] Permission denied: ‘/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/user_files/.private_config.json’

Please try manually deleting the “/Users/diegomartinez/Library/Application Support/Anki2/addons21/1322529746/user_files/.private_config.json” file after closing Anki. You’ll probably need to log in again to your AnkiHub account after that.