Confirmation is required for this operation error when using RestApi to retrieve account password
119
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:02 PM
Symptom
The following error is seen when is running RESTAPI to retrieve password which requires ticketing information.
"{"ErrorCode":"ITATS534E","ErrorMessage":"Confirmation is required for this operation.
A request has not yet been sent."}"
Below is a sample of the API call:
curl -k --header "Content-Type: application/json" --header "Authorization: <token>" --request POST https://<PVWA URL>/PasswordVault/api/Accounts/<account ID>/Password/Retrieve --data '{"reason":"NA","ActionType":"show","TicketingSystemName":"<name of ticketing system","TicketId":"<ticket number>"}'
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 Component: Password Vault Web Access Functional Area: Other
Cause
Wrong parameter for Ticketing System
Resolution
There seems to be a documentation bug for this. In the body, it should be TicketingSystem instead of TicketingSystemName.
Example:
curl -k --header "Content-Type: application/json" --header "Authorization: <token>" --request POST https://<PVWA URL>/PasswordVault/api/Accounts/<account ID>/Password/Retrieve --data '{"reason":"NA","ActionType":"show","TicketingSystem":"<name of ticketing system","TicketId":"<ticket number>"}'