e2e error handling for invalid resourceId