SAP Spartacus encountered an error in the background of Commerce cloud when using the product configuration function


From the error log app_Kubernetes_io and docker_id, we know that the background system is a CCv2 system.

{
  "_index": "flb-2021.02.22",
  "_type": "flb_type",
  "_id": "b3243f97-d237-f049-3471-a181583767c1",
  "_version": 1,
  "_score": null,
  "_source": {
    "@fb_timestamp": "2021-02-22T14:13:41.254Z",
    "log": "{\"thread\":\"hybrisHTTP35\",\"level\":\"ERROR\",\"loggerName\":\"de.hybris.platform.sap.productconfig.runtime.cps.impl.RequestErrorHandlerImpl\",\"message\":\"While calling the cps service the following server error occured:{\\n  \\\"status\\\" : 412,\\n  \\\"typeId\\\" : \\\"40001\\\",\\n  \\\"type\\\" : \\\"precondition_failed\\\",\\n  \\\"message\\\" : \\\"Configuration is outdated\\\",\\n  \\\"moreInfo\\\" : null,\\n  \\\"details\\\" : [ ]\\n}\",\"endOfBatch\":false,\"loggerFqcn\":\"de.hybris.platform.util.logging.HybrisLogger\",\"instant\":{\"epochSecond\":1614003221,\"nanoOfSecond\":254006000},\"contextMap\":{\"RemoteAddr\":\"[194.153.147.4] \",\"Tenant\":\"\"},\"threadId\":206,\"threadPriority\":5,\"origin\":\"PLATFORM\"}\r\n",
    "stream": "stdout",
    "time": "2021-02-22T14:13:41.254242808Z",
    "logs": {
      "thread": "hybrisHTTP35",
      "level": "ERROR",
      "loggerName": "de.hybris.platform.sap.productconfig.runtime.cps.impl.RequestErrorHandlerImpl",
      "message": "While calling the cps service the following server error occured:{\n  \"status\" : 412,\n  \"typeId\" : \"40001\",\n  \"type\" : \"precondition_failed\",\n  \"message\" : \"Configuration is outdated\",\n  \"moreInfo\" : null,\n  \"details\" : [ ]\n}",
      "endOfBatch": false,
      "loggerFqcn": "de.hybris.platform.util.logging.HybrisLogger",
      "instant": {
        "epochSecond": 1614003221,
        "nanoOfSecond": 254006000
      },
      "contextMap": {
        "RemoteAddr": "[194.153.147.4] ",
        "Tenant": ""
      },
      "threadId": 206,
      "threadPriority": 5,
      "origin": "PLATFORM"
    },
    "kubernetes": {
      "pod_name": "api-55bc8d746f-fq9km",
      "namespace_name": "default",
      "pod_id": "099b8290-0cd9-49b3-9dd1-1e58be4b7a9f",
      "labels": {
        "app_kubernetes_io/component": "backend",
        "app_kubernetes_io/managed-by": "hybris-operator",
        "app_kubernetes_io/name": "hybris",
        "app_kubernetes_io/part-of": "hybris",
        "ccv2_cx_sap_com/platform-aspect": "api",
        "pod-template-hash": "55bc8d746f"
      },
      "annotations": {
        "ccv2_cx_sap_com/build-code": "20210218.2",
        "ccv2_cx_sap_com/deployment-id": "183528",
        "cni_projectcalico_org/podIP": "10.244.15.47/32",
        "fluentbit_io/parser": "mt-api",
        "platform-security-configmap-hash": "1996966820"
      },
      "host": "k8s-cwerwjw7gdkb-33420921-vmss00000j",
      "container_name": "platform",
      "docker_id": "676761e7499f414f0711daab4d15372e77e7addf36d93fc6f29522935c1eb2e1"
    }
  },
  "fields": {
    "@fb_timestamp": [
      "2021-02-22T14:13:41.254Z"
    ],
    "time": [
      "2021-02-22T14:13:41.254Z"
    ]
  },
  "highlight": {
    "logs.level": [
      "@kibana-highlighted-field@ERROR@/kibana-highlighted-field@"
    ]
  },
  "sort": [
    1614003221254
  ]
}

While calling the cps service the following server error occured: Configuration is outdated.

Read More: