Hi
It looks like, the IoT Central has a problem with a gateway device template (contains a Relationship type) during the provisioning process. When the gateway device template has been loaded into the IoT Central in prior, then everything is working.
Note, that the provisioning a downstream device included its assigning a device template and attaching to the gateway is working well.
Thanks
Roman