Anki Problem Saying Error Occured

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

Error message (don't change this)
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Mac 12.5
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-05-20 10:13:51

Traceback (most recent call last):

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 155, in login
    token = ankihub_client.login(credentials=credentials)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 233, in login
    response = self._send_request("POST", API.ANKIHUB, "/login/", json=credentials)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 192, in _send_request
    response = self._send_request_with_retry(prepped, stream=stream)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 206, in _send_request_with_retry
    response = self._send_request_with_retry_inner(request, stream=stream)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 314, in iter
    return fut.result()

  File "concurrent.futures._base", line 438, in result

  File "concurrent.futures._base", line 390, in __get_result

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "/Users/amitsingal/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 227, in _send_request_with_retry_inner
    response = session.send(request, stream=stream)

  File "requests.sessions", line 645, in send

  File "requests.adapters", line 417, in send

  File "requests.adapters", line 228, in cert_verify

OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /var/folders/5n/6dc0jf6j1dj5k938gtmfsn4c0000gn/T/tmpotbjthzecacert.pem

Sentry link (for developers)

Please try restarting Anki to solve this problem.