# Set email notification for HTTP 5XX errors reported in services

**URL:** <https://community.dynatrace.com/t/set-email-notification-for-http-5xx-errors-reported-in-services/40468>\
**Category:** Alerting\
**Tags:** problem-notification, problems-classic\
**Created:** [June 30, 2023, 3:08am UTC](https://community.dynatrace.com/t/set-email-notification-for-http-5xx-errors-reported-in-services/40468 "2023-06-30T03:08:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hariu](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@hariu](https://community.dynatrace.com/u/hariu)\
**Post date:** [June 30, 2023, 3:08am UTC](https://community.dynatrace.com/t/set-email-notification-for-http-5xx-errors-reported-in-services/40468/1 "2023-06-30T03:08:57Z")

</div>

Hi. Our services are currently reporting lot of HTTP 5xx errors. I want to ne notified (via email) on every HTTP 5xx error reported (for every services).

I have tried setting up an alerting profile, but it is not working. Has anyone done this before? Is it possible to set an alerting profile to notify HTTP 5xx errors?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 30, 2023, 7:26am UTC](https://community.dynatrace.com/t/set-email-notification-for-http-5xx-errors-reported-in-services/40468/2 "2023-06-30T07:26:24Z")

</div>

Hi,

If you only want a specific 5XX error codes, you can create a [metric events](https://www.dynatrace.com/support/help/shortlink/metric-events).

And select correct metric and scope:

 ![AntonPineiro_0-1688109937411.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/0/d0865934c3d072d189785d49fea34811d6ea935f.png)

Or if you want errors in general, that is covered by failure rate increase. It means, set Severity Error in your alerting profile.

Best regards
