REST API- Adding a new safe failed with 404 error
Symptom
Using REST API : https://{IIS_HOST}}/PasswordVault/WebServices/PIMServices.svc/Safes failed with 404 error, IIS log show 404 0 2 error code. Same user (ie: administrator) is able to add safe via PVWA UI and perform other REST API call except for PIMServices
Environment
11.3;11.4;11.5 Cyber-Ark API/SDK REST API
Cause
HTTP Activation feature was not enabled/installed in this environment.
Resolution
To enable HTTP activation you could follow the below steps:
1)In the Control Panel, under the Programs heading, select Turn windows features on or off.
2)Select Server Selection in the list on the left.
3)Select the name of the server where the feature needs to be installed, in the center pane.
4)Select Features in the list on the left.
5)Open the .NET Framework 4.X Features (Installed) tree node then open WCF services (Installed).
6)Select HTTP Activation.
7)If a popup window You cannot install HTTP Activation unless the following role service or features are also installed opens, then select the Add Features button to install the required features.
8)Use Next until the Install button becomes active.
9)Select Install.