The Remote Server Returned an Error: (400) Bad Request

The Remote Server Returned an Error: (400) Bad Request

138
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:51 PM


Symptom


When using the “UpdateAccount” API call. the following error is received:

The remote server returned an error: (400) Bad Request.



Environment


10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2 Cyber-Ark API/SDK REST API

Cause


The encountered error may occur when the requested property does not exist.



Resolution


Visually inspect the account on which the change is being made, and confirm the properties exist.

In case the properties in question are not standard mandatory account properties, but added optional properties, please try using the platformAccountProperties parameter in order to call them.

For example:

{ "op": "add", "path": "/platformaccountproperties/port", "value": "456"}


For more information, please refer to our online documentation through the link below:

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/UpdateAccount%20v10.htm



Actions
  • Print
  • Copy Link

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