Hello everyone,
I think I faced a bug on the beta/sp-config/import API whilst trying to upload a SOURCE template exported from a working tenant.
The API documentation doesn’t mention anything about cluster while importing a SOURCE; but since a SOURCE can contain a “cluster” object (which contains id, name and type) the sp-config/import API should be able to parse that.
Actually, the “cluster” object gets completely ignored, but the SOURCE gets imported with an empty VA field, which is impossible to do via UI.
After this the only working solution is to:
Retrieve the just imported SOURCE id - which isn’t returned by beta/sp-config/import job submittal
@szucchi, have you tried adding the cluster ID to the source objects in the exported file before importing it to the new tenant? That might work and save you a step of having to run PATCH calls for each source after the import.
I’m also facing the same issue. I have included the cluster details(cluster name, type and id) to source object but still while importing the source, SP-Config API is ignoring the cluster details present in the import file and creating the source on the tenant with empty VA field.
I haven’t tried it myself, but if that’s the case then please open a support ticket. The support team will determine if it’s a bug or not and route the issue to the correct engineering team.