11-21-2023 01:07 PM
We are having an issue with REST Request to update keywords. We are getting a 403 error return
403: No privileges to update keywords for document ID: 5780659
Reviewing the diagnostic console, I see this error:
Evolution.Commons.ErrorHandling.Error:No privileges to update keywords for document ID: 5780659.Error code: InsufficientKeywordAccessPrivilege
I have verified that there are no hidden or read only keywords on this document type. I also confirmed the OnBase user that is authenticated the API Server has privileges to modify keywords for this document type. In fact I logged into OnBase via the Unity Client with this same user account and can update keywords for this document type.
Is there anything else I should check?
11-21-2023 02:34 PM
Are you passing the entire collection of keywords in your PUT request?
Working with Keywords on Documents (onbase.com)
"The endpoint used to do Keyword modification is a PUT on /documents/{documentId}/keywords
. Keyword Modification is only supported by passing the entire collection of Keywords into this request. Therefore any Keyword Objects or Keyword Groups not included in the request will result in their deletion. For example a request with only one Keyword Object with a Document with multiple Keywords attached to the items
object will result in a Document with only that one Keyword Value or a Request with an empty items
object will delete all Keywords."
11-21-2023 03:12 PM
Thanks for responding Eric.
If we are only passing 2 keywords in the collection in the PUT request when there are 5 more, are you saying this would cause the error we getting?
11-22-2023 05:46 AM
Hi
11-27-2023 12:51 PM
Hi
Are these loose Key Types, or are they part of a Keyword Type Group?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.