green-api / issues

11 stars 0 forks source link

Требуется добавить уведомления при блокировке связанного устройства (Forbidden) / Need to add notifications when a linked device is blocked (Forbidden) #428

Open lent0s opened 7 months ago

lent0s commented 7 months ago

Требуется Требуется добавить уведомления в статус инстанса при блокировке связанного устройства (Forbidden) Требуется отслеживать статус инстанса: при получении статуса Forbidden необходимо произвести действия:

  1. logout
  2. reboot
  3. Проверить статус инстанса и, при получении not authorized, перейти к следующему пункту
  4. login https://green-api.com/docs/faq/if-your-instance-is-blocked/

Уровень API

Обходное решение Мониторить статус инстанса и ждать перехода в статус authorized


Required It is required to add notifications to the instance status when the associated device is blocked (Forbidden) It is required to monitor the status of the instance: when receiving the Forbidden status, you must perform the following actions:

  1. logout
  2. reboot
  3. Check the status of the instance and, if it receives not authorized, go to the next step
  4. login https://green-api.com/en/docs/faq/if-your-instance-is-blocked/

Level API

Workaround Monitor instance status and wait for transition to authorized status