add raw to error response