Password upload utility - Error: parse error, expecting `__PACLI_STRING'

Password upload utility - Error: parse error, expecting `__PACLI_STRING'

95
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:03 PM


Symptom


When using the password upload utility in interactive mode (typing user and password manually) the following error is returned:
 
LOGON VAULT=<vault name> USER=123021972 PASSWORD=xxxx SESSIONID=1
Error: parse error, expecting `__PACLI_STRING'


Environment


v4.6;v5.0;v5.5;v6.0;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0 Password upload utility all versions

Cause


Any of the following are possible causes, most of which have to do with issues parsing the file:
  1. The user name is made up of numeric characters. PACLI expects a string and not a number.
  2. The password contains a comma (,).
  3. The CSV file was saved as an excel file.


Resolution


The following solutions may help depending on the problem:
  1. Use quotes for the user name.
    Use another user that is not a numeric one.
    Use a credential file instead of connecting manually.
  2. Use quotes for the password.
    Change the password to not contain a comma.
    Use a credential file instead of connecting manually.
  3. Make sure the file is saved as CSV file.


Additional Information


Details

 




    Actions
    • Print
    • Copy Link

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