add error response (204) to ObjectController

@brianmckenna - please review add HTTP error response to ObjectController