Apm missing error span

I saw an http500 error on the transaction page, but I didn’t see it on the error page. Why?

elastic stack ver:7.12.0

pic

We just initialized the apm in the code without customizing any apm features.

I found that the cluster has a mapper_parsing_exception error, which has been fixed now.