PASWS167E - There are some invalid parameters
109
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM
Symptom
While trying to add members to a group using API: Add member to group:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/AddMemberToGroup%20v10.htm
The following error is received while the group and user exist in the Vault:
"ErrorCode": "PASWS200E",
"ErrorMessage": "Member [123] was not found.",
"ParameterName": "memberId"
Environment
12.5;12.6;12.7 Privilege Cloud Cyber-Ark API/SDK Cyber-Ark API/SDK REST API
Cause
The issue is caused by the parameter name, which is called "memberId", however, the expected value is the name of the user.
This can also be seen in the documentaion:
Parameter
memberId (mandatory)
Type
String
Description
The name of the Vault user or LDAP group to add to the Vault group.
Default
-
Resolution
Make sure to use the name of the user and not the user ID in the API call.