After PowerServer API application is deployed to IIS, users see 500.19 error as shown below when accessing any API from a browser.
Server Error in Application "application name"
HTTP Error 500.19 – Internal Server Error
Description of HRESULT
The requested page cannot be accessed because the related configuration data for the page is invalid.
For most of PowerServer users, this is because they haven’t installed .NET Core 3.1 Hosting Bundle, which includes the .NET Runtime and IIS support.
1. Download and install ASP.NET Core Hosting Bundle 3.1 from https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-aspnetcore-3.1.13-windows-hosting-bundle-installer
2. If installing ASP.NET Core Hosting Bundle 3.1 doesn’t solve the issue, you can refer to the description about the 500.19 error in the following Microsoft documentation: