Why am I having a security violation when I try to update a relation or entity?

Question

We have an issue of unable to create an entity or relation in environments.

The issue is happening for multiple users and throwing the same error as follows:

 While adding relations after creating address, error occurs:


[{"index":0,"errors":{"severity":"Error",
"errorMessage":"Access to object 'relations/14XPpPRj' is forbidden. Required privileges: CREATE,UPDATE,READ",
"errorCode":802,
"errorDetailMessage":"Security error. Access to object 'relations/14XPpPRj' is forbidden. Required privileges: CREATE,UPDATE,READ"},
"successful":false}]

 

Answer

  • Review permissions for either the relation type or entity type.
GET {{environmentURL}}/reltio/permissions/{{tenantID}}
  • Using the user that is having the problem, perform the following API
GET {{environmentURL}}/reltio/api/{{tenantID}}/configuration?options=showAccess
  • Using the user that is having the problem, perform the following API
GET {{environmentURL}}/reltio/api/{{tenantID}}/<relations> or <entities> /<relation Id> or <entity Id>?options=showAccess
Was this article helpful?
0 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.