SAP Knowledge Base Article - Public

2962502 - ASSERTION_FAILED error occurs while using Patch method in API Update Enterprise Project Element

Symptom

While executing the patch method for API Update Enterprise Project Element the following error occurs

HTTP Response: status_code 204

Runtime Error: 'ASSERTION_FAILED'

Environment

  • SAP S/4HANA Cloud
  • SAP Fiori

Reproducing the Issue

  1. Execute the URL PATCH <host>/sap/opu/odata/sap/API_ENTERPRISE_PROJECT_SRV/A_EnterpriseProjectElement(guid'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX')

Cause

In header HTTP request  for If-Match is maintained with the etag value .

Resolution

Please use the header HTTP request with " If-Match = * "  instead of etag value.

Keywords

Enterpriseproject, API, Etag, API_ENTERPRISE_PROJECT_SRV, A_EnterpriseProjectElement, status_code 204, ASSERTION_FAILED, S4_PC, SAP S/4HANA cloud, PPM-FIO. , KBA , PPM-FIO , Fiori UI , Problem

Product

SAP S/4HANA Cloud all versions