Hi! I'm trying to export an existing workspace by sending the GET request. Then I save the response as JSON file, send the PUT request to another empty workspace and get an error: Some of given referenced 'labels' entities do not exist. What should I do to import saved workspace data to another empty workspace? Labels marked in response as "not exisiting" exist in LDM as foreign keys
Best answer by AnonymousView original
Hello, there is scenario that could cause this situation, lets have a source project with logical and physical model, you create analytics and then you change db-scheme, or redefine logical model (some object are removed, recreated with different id, ...) and you put the new layout, all objects in analytics exist, but since now they can reference no longer existing logical objects. You can export the project, but you can't import it (even back into the source project), if this is your case, you have to fix the source project, or the json file.
I would recommend to try these steps:
... if this is working for new/target project, put the fixed layout/definition json file back to the source project to fix it too