Can't Edit Object and Not Sure Why

Hello there :slightly_smiling_face:

I have an object in my ontology (Entity) that I initially created to be user editable.

Some of my Entity objects are duplicates with slightly different names so I have an action, backed by a TS function, that “merges” entity objects. It moves the links from entity2 over to entity1 and deletes entity2. I call this action from a workshop application.

I had previously tested this and it was working as intended, but now when I try to trigger this action from workshop I see this error pop up:

image

I can’t figure out why this is saying the object is read only. When I look at the datasources config in the ontology manager, I see that edits are enabled:

Any help in getting to the bottom of this would be greatly appreciated :pray:

Hello @willstone ,

Based on the entityTypeRid rid in your error message, it look’s like you have a Link type that is read only. If you search for that rid in the Ontology Manager, you should be able to find that link type. You need to also enable edits for that many to many link type that you’re referring to here, as when you’re copying over the links in your function, you’re changing the data of that link type as well.

Hope this helps!

1 Like

Old thread, but checking my on approach . I used to see the same when i use the same ontology object name that already exists for new one. i will change the API name to different name. Is it right approach?

Hi @VenkatPolimera , I’m not sure I understand your error here. If you have a different error you’re unsure how to solve please post it as a a new question. If you are getting API name conflicting error, changing the API name is the right approach yes.

1 Like

Yes.. I am being doing this . looks it is because of the AIP Name that already exists. I feel,error message is not clear and it is confusing everytime to me ;(