[ZBX-20859] Not possible to import map that contains hostgroup element due to unexpected parameter uuid Created: 2022 Apr 06  Updated: 2024 Apr 10  Resolved: 2022 May 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 6.0.4rc1, 6.2.0alpha1
Fix Version/s: 6.0.5rc1, 6.2.0beta3, 6.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: import, map, uuid
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File 6.0_templates.yaml     GIF File map_import_failure.gif    
Issue Links:
Sub-task
depends on ZBX-16718 Empty tags being present when exporti... Closed
Team: Team C
Sprint: Sprint 87 (Apr 2022), Sprint 88 (May 2022)
Story Points: 0.25

 Description   

Problem description: it is not possible to import a map if it contains a Host group element due to the following error:

Invalid tag "/zabbix_export/maps/map(1)/selements/selement(1)/elements/element(1)": unexpected tag "uuid".

Steps to reproduce:

  1. Navigate to Monitoring => Maps
  2. Create a new map
  3. Open constructor for this map
  4. Add a Host group element that represents "Zabbix servers" host group
  5. Save the map
  6. Export the map
  7. Delete the map
  8. Attempt to import the map

Result: Map import failed with the above error.
Expected: Map import should be successful.

Example:



 Comments   
Comment by Andrejs Griščenko [ 2022 May 18 ]

Resolved in development branch ZBX-20859-6.0.

<sasha> DECLINED. Proposed alternative solution in ZBX-20859-6.0-2 and ZBX-20859-6.1-2

Comment by Alexander Vladishev [ 2022 May 25 ]

Fixed in:

Comment by Alfred Babu [ 2023 Sep 21 ]

I have similar issue while importing custome template tp zabbix version 5.0 , i am getting following error 

  • Invalid tag "/zabbix_export/templates/template(1)": unexpected tag "uuid".
Generated at Fri Jun 12 05:13:30 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.