PVWA - Error PASW164E when trying to update account via RESTAPI

PVWA - Error PASW164E when trying to update account via RESTAPI

123
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:05 PM


Symptom


When trying to update Account via RESTAPI, an error is returned:
{
  "ErrorCode": "PASWS164E",
  "ErrorMessage": "Invalid Input Request. Reason: Object reference not set to an instance of an object."
}


Update Account RESTAPI reference: 
https://docs.cyberark.com/PAS/Latest/en/Content/SDK/UpdateAccount%20v10.htm
 


Environment


11.7;12.0;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Cyber-Ark API/SDK PVWA

Cause


The parameter in the body doesn't use case sensitive

Resolution


The Body parameters must be case sensitive.

For example:
Incorrect:
[{ "op": "add", "path": "/platformaccountproperties/port", "value": "456"}]

Correct:
[{ "op": "add", "path": "/platformAccountProperties/port", "value": "456"}]
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001K37CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail