My Oracle Support Banner

Unknown ecr:type 'null' was specified at path:/ifcr/gsadmin/v1/cloud/content/facets/default while specifying Custom Order For Facets By REST API (Doc ID 2441093.1)

Last updated on JANUARY 10, 2020

Applies to:

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

Symptoms

Getting 400 error when updating facet list with updateFacetList endpoint (PUT /gsadmin/v1/{appName}/content/facets/{facetListName}).
API doc for this endpoint is here https://docs.oracle.com/cd/E95861_01/Cloud.18B/RESTAPI/html/op-gsadmin-v1-appname-content-facets-facetlistname-put.html.


REPRODUCIBLE STEPS
------------------------------
The issue can be reproduced at will with the following steps:
1. Start ccdebug on Admin server
2. Execute PUT /gsadmin/v1/cloud/content/facets/default with the following request payload.

{
    "contentItem": {
        "navigation": [
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.genero"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.category"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "sku.tamanho"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.brand"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.subcategoria"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.ocasiao"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "sku.corPrincipal"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.estacao"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.priceRange"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "sku.porcentDesconto"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.estampa"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.detalhe"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.material"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.modalidadeEsportiva"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.faixaEtaria"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.personagem"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.alturaSalto"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.formatoSalto"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.cano"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.circunferencia"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.bico"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.solado"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.pisada"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.cintura"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.gola"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.alca"
            },
            {
                "@type": "RefinementMenu",
                "dimensionName": "product.alcaSecundaria"
            }
        ]
    }
}


Changes

 N/A

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.