I have a problem I have tried all the steps but its not working.

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.51 (cf78a555) Python 3.9.7 Qt 6.2.3 PyQt 6.2.3
Platform: Mac 11.4
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-04-30 12:05:12

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 618, in _onBridgeCmd
File “aqt.reviewer”, line 528, in _linkHandler
File “aqt.reviewer”, line 445, in _answerCard
File “anki.scheduler.v2”, line 458, in answerCard
File “anki.scheduler.v2”, line 490, in _answerCard
Exception: Invalid queue ‘<anki.cards.Card object at 0x13f0034c0>’

Searching for cid:1644563377695,1644562959740,1644558125113,1644557121618 in the browse screen will reveal the problem cards. If you select them in the Browse screen and use the forget action, it should fix the issue. If you find it crops up again and figure out what steps caused it, please let us know.