duplicati/duplicati · error · IncompleteJSONError
Incomplete JSON data
Error message
Incomplete JSON data
What it means
Error "Incomplete JSON data" thrown in duplicati/duplicati.
Source
Thrown at Tools/Commandline/RestoreFromPython/ijson.py:223
elif symbol == 'true':
yield ('boolean', True)
elif symbol == 'false':
yield ('boolean', False)
elif symbol == '[':
for event in parse_array(lexer):
yield event
elif symbol == '{':
for event in parse_object(lexer):
yield event
elif symbol[0] == '"':
yield ('string', unescape(symbol[1:-1]))
else:
try:
yield ('number', number(symbol))
except decimal.InvalidOperation:
raise UnexpectedSymbol(symbol, pos)
except StopIteration:
raise IncompleteJSONError('Incomplete JSON data')
def parse_array(lexer):
yield ('start_array', None)
try:
pos, symbol = next(lexer)
if symbol != ']':
while True:
for event in parse_value(lexer, symbol, pos):
yield event
pos, symbol = next(lexer)
if symbol == ']':
break
if symbol != ',':
raise UnexpectedSymbol(symbol, pos)
pos, symbol = next(lexer)
yield ('end_array', None)
except StopIteration:
raise IncompleteJSONError('Incomplete JSON data')View on GitHub (pinned to 3f348be3e3)
Solutions
- Provide the complete JSON file; the current file ends prematurely.
- Verify the file was fully copied/downloaded before running the tool.
When it happens
Trigger: Thrown at Tools/Commandline/RestoreFromPython/ijson.py:223 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of duplicati/duplicati@3f348be3e3 (2026-08-13).
Data as JSON: /api/errors/bb6afa49e1c9b0e2.
Report an issue: GitHub.