SAP Knowledge Base Article - Public

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


  • While executing the PATCH method for API Update Enterprise Project Element one of the following error occurs:
  1. HTTP Response: status_code 204 Runtime Error: 'ASSERTION_FAILED'
  2. HTTP Response: status_code 428 Precondition required for entity CDS~A_ENTERPRISEPROJECT_2 (If-Match missing). Error message Code: SADL_ENTITY_RUNTIME/006


  • 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')


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


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


Enterpriseproject, API, Etag, API_ENTERPRISE_PROJECT_SRV, A_EnterpriseProjectElement, status_code 204, ASSERTION_FAILED, S4_PC, SAP S/4HANA cloud, PPM-FIO, If, Match, SADL_ENTITY_RUNTIME/006 , KBA , PPM-FIO , Fiori UI for Portfolio and Project Management , Problem


SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions