WARNING: Version 6.2 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Users command fails due to extra arguments
editUsers command fails due to extra arguments
editSymptoms:
-
The
userscommand fails with the following message:ERROR: extra arguments [...] were provided.
Resolution:
This error occurs when the users tool is parsing the input and finds
unexpected arguments. This can happen when there are special characters used in
some of the arguments. For example, on Windows systems the , character is
considered a parameter separator; in other words -r role1,role2 is translated
to -r role1 role2 and the users tool only recognizes role1 as an expected
parameter. The solution here is to quote the parameter: -r "role1,role2".
For more information about this command, see Users Command.