added new api error cases, new list apis