Added response type error and message field