error handling for non existant resources