set isError when loading by id fails