SAP Knowledge Base Article - Preview

3472491 - Error "message": "Precondition Failed", "target": "{{if-match}}" for API PATCH Call

Symptom

When trying to make an API PATCH call, there shows error:

{
    "error": {
        "message": "Precondition Failed",
        "target": "{{if-match}}"
    }
}
 
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Sales Cloud Version 2
  • SAP Sales Cloud and SAP Service Cloud Version 2

Product

SAP Sales Cloud Version 2 all versions ; SAP Sales Cloud and SAP Service Cloud Version 2 all versions

Keywords

API Call; PATCH CALL; REST API; Precondition Failed; if-match; error , KBA , CEC-CRM-ACC , Account for SAP Sales/Service Cloud , CEC-CRM-PRD , Product for SAP Sales/Service Cloud , CEC-CRM-CON , Contact for SAP Sales/Service Cloud , CEC-CRM , Sales & Service Cloud , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.