Steps to reproduce:
- Import attached media type (webhook example).
- Test imported media type (Zabbix server should be running)
- Observe that error is present.
At this point zabbix_server.log file will become corrupted as well as it will contain broken UTF-8 sequence:
JSON retrieved from Zabbix Frontend:
At some point it becomes broken.
Media type testing should work just like the action operations.
The same media type will work like a charm (without errors) if used in action operations. So problem is only related to media type testing.