Error 500 trying to manage 2fa after clearing data in Chrome

Some time ago, I performed a full data clearance on my Google Chrome, which led to the removal of the 2FA setup for my Gitlab account. After logging in using a recovery code, I attempted to set up 2FA once again. However, I now consistently encounter a 500 error every time I click on ‘Manage two-factor authentication’ in my profile.