My Oracle Support Banner

Cannot update value of property 'translatable'. Please use bulkItemOperations api to achieve that. (Doc ID 2804904.1)

Last updated on SEPTEMBER 09, 2021

Applies to:

Content and Experience Cloud Service - Version N/A and later
Oracle Content Management - Version 21.8.1 and later
Information in this document applies to any platform.

Symptoms

REST Api calls are failing with below error:

 

PUT: https://{OCM_Instance}/content/management/api/v1.1/items/xxxxxxxxxxxxxxxxxxxx

Body:
{
  "id":"xxxxxxxxxxxxxxxxxxxx",
  "type" : "xxx-JSON",
  "name" : "xxx_test",
  "description" : "",
  "repositoryId" : "xxxxxxxxxxxxxxxxxxxx",
  "language" : "en-US",
  "translatable" : false,
  "field1" : "",
  "field2" : "",
  "field3" : ""
}
Response:

{
    "title": "Invalid item data",
    "detail": "Request failed due to validation errors.",
    "o:errorCode": "CEC-CONTENT-ITEM-xxx",
    "o:errorDetails": [
        {
            "title": "Can not update value of property 'translatable'. Please use bulkItemOperations api to achieve that.",
            "detail": "Can not update value of property 'translatable'. Please use bulkItemOperations api to achieve that.",
            "o:errorCode": "CEC-CONTENT-xxx",
            "o:errorPath": "translatable",
            "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1"
        }
    ],
    "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "status": 400
}

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.