Passwordvault Api Auth Cyberark Logon ((exclusive)) <2024>
| HTTP Status | Error Text | Likely Cause | Solution | | :--- | :--- | :--- | :--- | | | "Authentication failed" | Wrong username/password OR account is locked/disabled. | Check credentials in the vault via PVWA. Verify the user is allowed API access. | | 403 Forbidden | "User is not authorized to logon from this IP" | IP restriction policy on the vault user. | Update the user's Location settings in CyberArk to include your API client's IP. | | 404 Not Found | "Resource not found" | Wrong URL path. Often missing /PasswordVault or using incorrect case. | CyberArk URLs are case-sensitive. Use exactly /PasswordVault/API/... | | 500 Internal Error | "Vault General Error" | The Vault server is overloaded or the CyberArk Vault service is down. | Check the ITA Log (ITAudit log) on the PVWA server. | | 504 Gateway Timeout | N/A | Network connectivity issue between client and PVWA, or PVWA to Vault. | Check firewall rules (port 443 and 1858). |
The JSON body remains identical – the vault validates against the external directory. passwordvault api auth cyberark logon
headers = "Authorization": f"CyberArk session_token", "Content-Type": "application/json" | HTTP Status | Error Text | Likely