Error: API Metadata Page Returns 404
Symptom
Accessing the Netwrix Change Tracker API Metadata page at https://<hub-address>/api/metadata returns a 404 error.
Cause
The plugins.metadataenabled key in appSettings.config controls the API Metadata page. This key defaults to false, so the metadata page is unavailable until an administrator enables it.
Resolution
-
On the Netwrix Change Tracker Hub server, open the following file in a text editor:
C:\inetpub\wwwroot\Change Tracker Generation 7 (NetCore) Hub\Configs\appSettings.config -
Find the
options.serviceStackPlugins.metadataenabledkey and change its value fromfalsetotrue. -
Save the file.
-
Restart IIS.
https://<hub-address>/api/metadata now loads without a 404 error.
NOTE: The related
options.serviceStackPlugins.swaggerenabledkey controls the Swagger API documentation page in the same way. Enable it if you also need access to Swagger.