My Oracle Support Banner

API Call "ccadmin/v1/promotionFolders" Throws Error "21244" "No item found for the following type and ID: promotionFolder, invalidId" (Doc ID 2615205.1)

Last updated on NOVEMBER 29, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : 19.5.1 version, REST API Call issue.

ISSUE STATEMENT

Creating a promotion folder using API call errors out.

ERROR

"errorCode": "21244",
"message": "No item found for the following type and ID: promotionFolder, <promotion repository id>",
"status": "400"

STEPS TO REPLICATE

The issue can be reproduced at will with the following steps:

1) Execute the following API Call under ccdebug,

URI :-

/ccadminui/v1/promotionFolders

Method:-

POST

Input:-


{
  "parentFolder":{
  "repositoryId":"<promotion repository id>"
  },
  "name":"2019-11-26T08:33:21.440Z"
}

2) Result will be the following error,


ERROR:

{
  "errorCode": "00000000",
  "message": "There were errors with the provided inputs.",
  "errors": [
    {
      "errorCode": "21244",
      "message": "No item found for the following type and ID: promotionFolder, promoFold200003",
      "status": "400"
    }
  ],
  "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


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