My Oracle Support Banner

Issue Assigning Metadata To A File (Doc ID 2783870.1)

Last updated on JUNE 11, 2021

Applies to:

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

Symptoms

There seems to be an issue in assigning metadata collection "InvDocumentType" to a file.

Execution of the endpoint 1:

POST -- /documents/api/1.2/files/<file id>/metadata/InvDocumentType

Response was :
{
  "errorCode": "0",
  "idList": "<file id>",
  "type": "file"
}


Execution of the endpoint 2:

POST -- /documents/api/1.2/files/<file id>/metadata/

Request Body :
{
  "collection": "InvDocumentType",
  "document_type": "Invoice Document"
}

Response was :
{
  "errorCode": "-96",
  "errorMessage": "Metadata Collection 'XC647B43C016F23F5839D2C6C250A3B3' is not assigned to the identifier 'fFileGUID:<file id>'.",
  "errorType": "file",
  "idList": "<file id>",
  "title": "Metadata Collection 'XC647B43C016F23F5839D2C6C250A3B3' is not assigned to the identifier 'fFileGUID:<file id>'.",
  "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
}


Logged in to CEC as user and from the Settings>Metadata page, deleted the dummy collections "dummy" and "dummy9Jun".
After this, both endpoint 1 and 2 were successful.

The issue is random and cannot be replicated easily.

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.