Avoid spurious error on invalid resource
WIP