error: check the returned error when reading the input JSON file