Solution
This is currently a known issue with the Application Web Server that started with LabVIEW 2023 release, the suggested solution is to migrate to
NI Web Server as the issue happens only with the Application Web Server.
NI is moving towards NI Web Server so it's the suggested solution when you are on Windows OS, for reference, feel free to check
Publishing Web Services (Real-Time, Windows).