return array of internal error, no need to encode it.