Get error code when parsing fail