Error response when fields could not be found

Updated for all types.

I'm not sure we need the `else` after the `detach`.  It's my understanding that `detach` will break out of this method and not return.  In that case we can just remove the `else` condition and it'll look a bit cleaner.