Parse error code from S3.