Ad Widget

Collapse

Discord Webhook stopped working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • timherrm
    Junior Member
    • Jul 2020
    • 1

    #1

    Discord Webhook stopped working

    Hi,

    we use Discord webhooks for alerting. Today they stopped working. Error Message is:
    Code:
    Sending failed: Invalid API version. For more details check zabbix server log.
    In zabbix_server.log there is not much to find about this except:
    Code:
    1250:20200709:140120.138 [ Discord Webhook ] FAILED with response: {"message": "Invalid API version", "code": 50041}
    1250:20200709:140120.138 [ Discord Webhook ] ERROR: Invalid API version. For more details check zabbix server log.
    1251:20200709:140200.158 [ Discord Webhook ] FAILED with response: {"message": "Invalid API version", "code": 50041}
    1251:20200709:140200.158 [ Discord Webhook ] ERROR: Invalid API version. For more details check zabbix server log.
    1250:20200709:140211.173 [ Discord Webhook ] FAILED with response: {"message": "Invalid API version", "code": 50041}
    1250:20200709:140211.173 [ Discord Webhook ] ERROR: Invalid API version. For more details check zabbix server log.
    Zabbix-Infos:
    Code:
    root@zabbix-server:~# cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=20.04
    DISTRIB_CODENAME=focal
    DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
    root@zabbix-server:~# zabbix_server -V
    zabbix_server (Zabbix) 5.0.1
    Revision c2a0b03480 25 May 2020, compilation time: May 28 2020 07:00:00
    
    Copyright (C) 2020 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.
    
    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).
    
    Compiled with OpenSSL 1.1.1f 31 Mar 2020
    Running with OpenSSL 1.1.1f 31 Mar 2020
    I checked my discord webhook URL with https://lew.la/webhook/ and it still works.
    Is anyone else having this problem or has anyone a solution i can try to solve the problem?

    Thanks!
  • Miike
    Junior Member
    • Jul 2020
    • 2

    #2
    Hi,
    Same for me.
    This post solved my problem.

    https://www.zabbix.com/forum/in-russ...pi?view=thread

    Comment


    • timherrm
      timherrm commented
      Editing a comment
      Jep, works just fine. I haven't fount the other thread myself, so i created this. Thanks for linking it!
Working...