Fix passing data through as response, and not as error