error related to empty resource id