Return errors when the resource URL does not have an ID or the object...

... isn't available.

Closes #21