# The error list of the Flask Python app is not collected in ES APM

**URL:** <https://discuss.elastic.co/t/the-error-list-of-the-flask-python-app-is-not-collected-in-es-apm/374101>\
**Category:** Elastic Observability\
**Created:** [February 5, 2025, 2:51am UTC](https://discuss.elastic.co/t/the-error-list-of-the-flask-python-app-is-not-collected-in-es-apm/374101 "2025-02-05T02:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jungsookim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jungsookim/32/141161_2.png) [@jungsookim](https://discuss.elastic.co/u/jungsookim)\
**Post date:** [February 5, 2025, 2:51am UTC](https://discuss.elastic.co/t/the-error-list-of-the-flask-python-app-is-not-collected-in-es-apm/374101/1 "2025-02-05T02:51:18Z")

</div>

Env  
OS: Ubuntu Linux (Container to be exact)  
Python version: 3.10  
Framework and version [e.g. Django 2.1]: flask-3.0.2  
APM Server version: 8.15  
Agent version: 6.23.0

Using all default values.

Agent Setup (code)  
def configure\_apm(wsgi\_app: Flask) -\> None:  
apm = ElasticAPM(wsgi\_app, enabled='TRUE', debug='TRUE')

Agent option  
ELASTIC\_APM\_SERVICE\_NAME : app  
ELASTIC\_APM\_SERVER\_URL : http://  
ELASTIC\_APM\_CAPTURE\_HEADERS : "false"

In a Java application, error lists are displayed properly, but errors are not identified in Python applications only. What should I look for?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/b/2bf86d2f6ef284e5d23fbf7b8310d7f7abef87d6.png)
