Fixed #6861

Check that the `error` property of parsed is not an `object`, which may be a valid value