---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/20412#article
headline: "20412: Precondition Failed"
url: https://www.twilio.com/docs/api/errors/20412
inLanguage: en
dateModified: 2026-03-12T17:44:18.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 20412: Precondition Failed

Log Level: ERROR

## Description

The resource does not meet one of preconditions defined by the request.

### Possible causes

* An ETag was included in an If-Match header, but the resource's current ETag does not match the ETag provided in the request.

### Possible solutions

* Retrieve the resource to obtain the current ETag, and then retry the request with the correct ETag in the If-Match header.
