Core / Import API Attribute Permission
Hi All,
Apologize if this is a silly question to ask.
I am writing an integration to Collibra via Collibra Rest 2.0.
I am trying to export data from my system to Collibra DGC.
e.g.
asset type: column, table
attributes : Data Type, Original Name, Mean etc
I have no issue to add/update asset and I can update Data Type attribute value as well.
Here is the problem… I am not able to add/update value for all other Column’s attribute except for Data Type.
Error via Rest Core
{
“statusCode”: 403,
“titleMessage”: “Not authorized”,
“helpMessage”: “Sign in or contact your administrator to change your permissions.”,
“userMessage”: “You are not allowed to add, edit or remove an attribute whose type is read only.”,
“errorCode”: “attributeNoAddEditRemoveReadOnlyPermission”
}
Error via Rest Import
You are not allowed to add, edit or remove an attribute whose type is read only.
The user I am using is already Admin.
My DGC version Collibra 2021.01.0
Please help…
Former User
OP5 years ago · EditedThanks Arthur & Pranay .
I follow Pranay shared documentation. It solves my issue! Thanks so much!!
pmahend3
·5 years ago · EditedHi Rain,
Has the solution provided by Arthur worked?
In addition to it, I also think adding a scope might help to resolve the issue you’re seeing. The reason you have to do this because, by default, certain attributes of certain asset types are uneditable. Here’s documentation on how to do it - https://productresources.collibra.com/kb_article/adding-scope-to-unlock-attributes/
Hope this helps
pmahend3
·5 years ago · EditedHi Rain,
Has the solution provided by Arthur worked?
In addition to it, I also think adding a scope might help to resolve the issue you’re seeing. The reason you have to do this because, by default, certain attributes of certain asset types are uneditable. Here’s documentation on how to do it - https://productresources.collibra.com/kb_article/adding-scope-to-unlock-attributes/
Hope this helps
arthurburkhardt
·5 years ago · EditedVery nice one, @pranay.mahendra , thanks!
arthurburkhardt
·5 years ago · EditedYes, you cannot import those attributes through the Collibra Rest Core Api, you have to import them throug the Rest Catalog API.