[ZBX-23119] Mattermost webhook fails with "SyntaxError: invalid json (at offset 2)" Created: 2023 Jul 18  Updated: 2023 Sep 14

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Iva Peneva Assignee: Zabbix Integration Team
Resolution: Unresolved Votes: 0
Labels: Mattermost, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 11
Zabbix Server 6.4.0


Attachments: JPEG File Error-log.jpg     JPEG File Error-web.jpg     File media_mattermost.yaml    

 Description   

Steps to reproduce:

  1. Import Mattermost Media Type for Zabbix Server 6.4 from official git repository (See attached .yaml file)
  2. Configure Media type to send alerts to Mattermost
  3. See Zabbix Web interface for error (attached image)
  4. See logs at debug level 4 (attached image)

Result:
Mattermost notification fails with message: SyntaxError: invalid json (at offset 2)
Expected:
It is expected to send the alerts successfully since the configuration worked correctly on Zabbix Server 4.x. After reimporting the template for the new version it still throws an error.



 Comments   
Comment by Iva Peneva [ 2023 Sep 14 ]

Will this issue be fixed in the latest release?

Generated at Sun Sep 29 01:07:17 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.