validation check for resource id