Personal, group, or project access tokens that were created without an expiration date before the 25/06/2023 will expire on the 25/06/2024.
You can find out why and learn how to minimize disruption in GitLab's blog post on the subject.
It is recommended to use deploy tokens whenever possible to limit the permissions scope or to monitor your access token expiration dates.