api error may be empty