This is a known bug, details of which can be found at the link provided.
https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate1#2117214
You can fix this error by downloading the cumulative update for SQL Server.
https://www.microsoft.com/en-us/download/details.aspx?id=105013
Best Regards,
Mikey Qiao
If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.