Not able to create project access token

There was an access token created on the project 1 year before, but it got expired. only the user exists on GitLab now. when I try to create another project token. it goes to the 500 internal server error page.
I tried with the admin user also, there also it is failing.