# Notificações push usam corretores de terceiros?

**URL:** <https://meta.discourse.org/t/do-push-notifications-use-3rd-party-brokers/178004>\
**Category:** Product Support\
**Created:** [Fevereiro 1, 2021, 5:00pm UTC](https://meta.discourse.org/t/do-push-notifications-use-3rd-party-brokers/178004 "2021-02-01T17:00:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [Março 25, 2021, 10:04pm UTC](https://meta.discourse.org/t/do-push-notifications-use-3rd-party-brokers/178004/5 "2021-03-25T22:04:53Z")

</div>

Acho que devemos tratar as exceções `Webpush::InvalidSubscription` e `Webpush::Unauthorized` cancelando a inscrição. Parece que elas não existiam quando atualizamos pela última vez o [tratamento de erros](https://github.com/discourse/discourse/blob/eb25d3a954d03792bce29cda01420807842df25f/app/services/push_notification_pusher.rb#L102-L118) para notificações push.

---

_[View the full topic](https://meta.discourse.org/t/do-push-notifications-use-3rd-party-brokers/178004)._
