added errors collection to the response object