When synchronizing multiple vCenter instances, where Datacenter and Cluster names are identical, I encounter critical errors, and virtual machines are not added to NetBox.
ERROR: NetBox returned: PATCH /api/virtualization/clusters/3/ Bad Request
ERROR: NetBox returned body:
{'scope': ['4 devices are assigned as hosts for this cluster but are not in site SR1']}
ERROR: Request Failed for cluster.
Used data:
{'scope_id': 12, 'tags': [{'name': 'Source: SR1'}, {'name': 'NetBox-synced'}, {'name': 'Source: vc-sr1'}]}