[api] fix error description normalization