# HTTP Error Code

**URL:** <https://community.dynatrace.com/t/http-error-code/20081>\
**Category:** Alerting\
**Tags:** problem-detection\
**Created:** [August 19, 2020, 4:08pm UTC](https://community.dynatrace.com/t/http-error-code/20081 "2020-08-19T16:08:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulo\_pirolla](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@paulo\_pirolla](https://community.dynatrace.com/u/paulo_pirolla)\
**Post date:** [August 19, 2020, 4:08pm UTC](https://community.dynatrace.com/t/http-error-code/20081/1 "2020-08-19T16:08:45Z")

</div>

Hi! Is it possible to obtain the [HTTP Error Code] through “Sessions Query”?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [August 20, 2020, 1:18pm UTC](https://community.dynatrace.com/t/http-error-code/20081/2 "2020-08-20T13:18:28Z")

</div>

After taking a look at the USQL, I did not see where we could set the string to grab 4xx or 5xx errors within the USQL. I would recommend putting in a Product Idea for this.&nbsp;[https://community.dynatrace.com/t5/forums/postpage/board-id/DynatraceProductIdeas](https://community.dynatrace.com/t5/forums/postpage/board-id/DynatraceProductIdeas)
