Object set: Failed to execute query with an error: ObjectSet:EntityTypesNotInitialized

I have a set of objects from an object type that I have just created.
When I try to query them, or perform an action in an application like vertex, i get an error ObjectSet:EntityTypesNotInitialized - why is that? What can I do to fix this?

Hi @jkane

ObjectSet:EntityTypesNotInitialized usually means that your object type has yet to have successfully indexed once. If you check out the object type in the Ontology Manager, you should be able to see in the overview page whether it’s still running it’s first index, and check out the datasources tab to see additional details.

1 Like

You may be experiencing this problem if you data has not yet initialised to the ontology’s object storage.

The time it takes for the object type to initialise is proportional to the volume of data. You can check the status of the initialisation by looking in the ontology management app (/workspace/ontology), navigating to “datasources” and looking at the pipeline the ontology has created in the background. Once that pipeline is complete you can then query your object for the first time.