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