Documentation Documentation

Unable to parse JSON Error from Dashboard Script


When running the script to set up the default Organisation and User when installing the On-Premises version on Red Hat/Centos, the script fails when setting up the default user, returning a “Unable to parse JSON” Error.

Adding new user
USER AUTHENTICATION CODE: xxxxxxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "string", line 1, in module
  File "/usr/lib64/python2.7/json/", line 290, in load
  File "/usr/lib64/python2.7/json/", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 1 column 33 (char 32)
Traceback (most recent call last):
  File "stdin", line 3, in module
  File "/usr/lib64/python2.7/", line 49, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib64/python2.7/", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "unknown", line 0
SyntaxError: unexpected EOF while parsing
ERROR: Unable to parse JSON


The Redis service is not running when the script is run


Run sudo service redis start before running the script.

See our installation guide for more information.